-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (79 loc) · 2.34 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "kataloger"
dynamic = ["version", "dependencies"]
authors = [
{ name = "Dzmitry Pryskoka", email = "[email protected]" },
]
description = "CLI tool for projects that uses gradle version catalog to check dependency updates."
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "Apache 2.0" }
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Version Control",
"Topic :: Utilities",
]
[project.scripts]
kataloger = "kataloger.__main__:main"
[project.urls]
"GitHub" = "https://github.com/dzmpr/kataloger"
"Changelog" = "https://github.com/dzmpr/kataloger/releases"
[tool.setuptools.packages.find]
namespaces = false
where = ["src"]
[tool.setuptools.package-data]
kataloger = ["default.configuration.toml"]
[tool.setuptools.dynamic]
version = { attr = "kataloger.__version__" }
dependencies = { file = "requirements.txt" }
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = "tests"
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py38"
required-version = ">=0.6.1"
output-format = "concise"
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"YTT", # flake8-2020
"ANN", # flake8-annotations
"B", # flake8-bugbear
"A", # flake8-builtins
"COM", # flake8-commas
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"Q", # flake8-quotes
"RSE", # flake8-raise
"RET", # flake8-return
"SIM", # flake8-simplify
"ARG", # flake8-unused-arguments
"PTH", # flake8-use-pathlib
"PERF", # perflint
]
ignore = [
"ANN101", # will be deprecated
"ANN102", # will be deprecated
"ANN204", # return type annotation for special methods
]
[tool.ruff.lint.per-file-ignores]
"tests/**/test_*.py" = ["ANN201", "ANN205"] # return not required for tests