-
Notifications
You must be signed in to change notification settings - Fork 66
/
pyproject.toml
70 lines (55 loc) · 1.52 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "nixpkgs-review"
description = "Review nixpkgs pull requests"
version = "2.12.0"
authors = [{ name = "Jörg Thalheim", email = "[email protected]" }]
license = { text = "MIT" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Topic :: Utilities",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.6",
]
[project.urls]
Homepage = "https://github.com/Mic92/nixpkgs-review"
[project.scripts]
nixpkgs-review = "nixpkgs_review:main"
nix-review = "nixpkgs_review:main"
[tool.setuptools.packages]
find = {}
[tool.setuptools.package-data]
nixpkgs_review = ["nix/*.nix"]
[tool.ruff]
line-length = 88
select = ["E", "F", "I", "U", "N"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
strict = true
no_implicit_optional = true
# Missing type parameters for generic type "CaptureFixture" [type-arg]
disallow_any_generics = false
[[tool.mypy.overrides]]
module = "argcomplete"
ignore_missing_imports = true
[tool.pylint.FORMAT]
output-format = "colorized"
[tool.pylint.messages_control]
disable = [
# Disable failure for TODO items in the codebase (code will always have TODOs).
"fixme",
# Annoying.
"line-too-long",
# Too many missing docstrings.
"missing-docstring",
# Not very important, maybe fix in the future.
"invalid-name",
"too-many-instance-attributes",
"too-few-public-methods",
"too-many-arguments",
"too-many-locals",
]