-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
62 lines (58 loc) · 2.29 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.18", "hatch-vcs>=0.4"]
[project]
name = "bing-rewards"
dynamic = ["version"]
requires-python = ">=3.10"
description = "Perform automated Bing Rewards searches"
license = "MIT"
readme = "README.md"
authors = [
{ name = "jack-mil", email = "62065280+jack-mil@users.noreply.github.com" },
]
keywords = ["automation", "bing", "search", "pynput", "points", "xbox"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Topic :: Utilities",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Intended Audience :: End Users/Desktop",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
urls.Homepage = "https://github.com/jack-mil/bing-rewards/README.md"
urls.Repository = "https://github.com/jack-mil/bing-rewards"
urls.Issues = "https://github.com/jack-mil/bing-rewards/issues"
dependencies = ["pynput~=1.7"]
optional-dependencies.dev = ["ruff", "pre-commit"]
# Install an executable entrypoint
scripts.bing-rewards = "bing_rewards:main"
[tool.hatch]
# include dev deps in default hatch env
envs.default.features = ["dev"]
# get the version from git history
version.source = "vcs"
version.fallback-version = "vX.X.X+unknown"
# don't include the +g<commit-hash> in dev versions (to allow test PyPI upload)
version.raw-options.local_scheme = 'no-local-version'
[tool.ruff]
line-length = 101
format.quote-style = "single"
lint.extend-select = [
"A", # https://docs.astral.sh/ruff/rules/#flake8-builtins-a
"B", # https://docs.astral.sh/ruff/rules/#flake8-bugbear-b
"E", # https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
"F", # https://docs.astral.sh/ruff/rules/#pyflakes-f
"I", # https://docs.astral.sh/ruff/rules/#isort-i
"W", # https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
"UP", # https://docs.astral.sh/ruff/rules/#pyupgrade-up
"PERF", # https://docs.astral.sh/ruff/rules/#perflint-perf
"PL", # https://docs.astral.sh/ruff/rules/#pylint-pl
"RSE", # https://docs.astral.sh/ruff/rules/#flake8-raise-rse
"RUF", # https://docs.astral.sh/ruff/rules/#ruff-specific-rules-ruf
"TCH", # https://docs.astral.sh/ruff/rules/#flake8-type-checking-tch
]