-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
51 lines (45 loc) · 1.23 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
[tool.pysen-cli]
settings_dir = "."
[tool.pysen]
version = "0.11"
[tool.pysen.lint]
enable_black = true
enable_flake8 = true
enable_isort = true
enable_mypy = true
mypy_preset = "very_strict"
py_version = "py38"
isort_known_first_party = ["fakes", "pysen"]
[[tool.pysen.lint.mypy_targets]]
paths = [
"pysen/",
"setup.py",
"tests/",
]
[[tool.pysen.lint.mypy_targets]]
paths = ["examples/advanced_example"]
[[tool.pysen.lint.mypy_targets]]
paths = ["examples/simple_package"]
[[tool.pysen.lint.mypy_targets]]
paths = ["examples/plugin_example"]
[[tool.pysen.lint.mypy_targets]]
paths = ["examples/sync_cmdclass_pyproject"]
[tool.pysen.lint.source]
excludes = ["build/", "dist/", "examples/", ".tox"]
[tool.pytest.ini_options]
markers = ["examples"]
[tool.black] # automatically generated by pysen
# pysen ignores and overwrites any modifications
line-length = 88
target-version = ["py38"]
[tool.isort] # automatically generated by pysen
# pysen ignores and overwrites any modifications
default_section = "THIRDPARTY"
ensure_newline_before_comments = true
force_grid_wrap = 0
force_single_line = false
include_trailing_comma = true
known_first_party = ["fakes", "pysen"]
line_length = 88
multi_line_output = 3
use_parentheses = true