-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (45 loc) · 1.47 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
[build-system]
requires = ["setuptools>=51.0.0"] # Minimum version required to use `entry_points`
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.codespell]
ignore-regex = "\\[nt]" # Do not count escaped newlines or tabs as part of a word
# ignore-words-list = ""
quiet-level = 0 # Display all warnings
check-filenames = ""
check-hidden = ""
[tool.isort]
py_version = "311"
line_length = 100
atomic = true
combine_as_imports = true
force_sort_within_sections = true
profile = "black"
[tool.mypy]
show_error_codes = true
ignore_missing_imports = true
python_version = "3.11"
strict = true
warn_unreachable = true
[tool.pydocstyle]
convention = "google"
[tool.pylint.format]
# Let Black handle line length
max-line-length = 300
[tool.pylint.imports]
# Need to either set this or stop using the `import X as X` that mypy wants
allow-reexport-from-package = true
[tool.pylint.messages_control]
# Most of these are disabled to prevent issues with dependencies being difficult to inspect
# pylint FAQ recommends disabling:
# wrong-import-order when using isort
# missing-module-docstring,missing-class-docstring,missing-function-docstring when using pydocstyle
disable = """
R,fixme,no-member,unsupported-membership-test,unsubscriptable-object,
unsupported-assignment-operation,not-an-iterable,too-many-lines,wrong-import-order,
missing-module-docstring,missing-class-docstring,missing-function-docstring
"""
[tool.pylint.reports]
score = false