-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
36 lines (31 loc) · 1.05 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
# Technically this section is not required, because this top-level pyproject.ml
# is only used for configuring tools, not for building anything.
# But we nevertheless have it, to be consistent with projects and libraries.
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
[tool.poetry.dev-dependencies]
black = "^23.1.0"
flake8 = "^6.0.0"
isort = "^5.12.0"
pyright = "^1.1.296"
pytest = "^7.2.1"
[tool.black]
line-length = 100
target-version = ['py39']
force-exclude = '''
^/archives/.*$
'''
[tool.pylint."messages control"]
disable = "all"
enable = ["empty-docstring", "missing-module-docstring", "missing-class-docstring", "missing-function-docstring"]
ignore = ["setup.py", "__init__.py"]
ignore-paths = ['.*/tests', ]
[tool.isort]
profile = "black"
line_length = 100
auto_identify_namespace_packages = false
force_single_line = true # pyright doesn't like implicit namespace + single line (related to https://github.com/microsoft/pyright/issues/2882?)
known_first_party = ["mycorp"]
extend_skip = ["archives"]