-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (86 loc) · 1.46 KB
/
pyproject.toml
File metadata and controls
92 lines (86 loc) · 1.46 KB
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
90
91
92
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]
[tool.pytest.ini_options]
python_files = "*.py"
testpaths = [
"tests",
]
#--ignore=E203,E302
[tool.flake8]
exclude = [
"fgsim/old/*",
".tox",
"docs",
"__pycache__",
]
ignore = "E203,E302,W503,F541,"
max-line-length = 84
per-file-ignores = """
fgsim/__main__.py: E402,F401,
**/__init__.py: F401
"""
[tool.isort]
profile = "black"
line_length = 84
[tool.black]
exclude = '''
(
/(
\..*
| _build
| buck-out
| build
| dist
| fgsim/old
| fgsim/geo/libs
)
)
'''
preview = true
include = '.*\.pyi?$'
line-length = 84
target-version = ['py310']
[mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_defs = true
exclude = "(\\..*|_build|dist|fgsim/old|fgsim/geo/libs)"
ignore_missing_imports = true
no_implicit_reexport = true
python_version = 38
show_error_codes = true
strict_optional = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.ruff]
line-length = 85
exclude = [
"fgsim/old/*",
".tox",
"docs",
"__pycache__",
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
target-version = "py310"
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402","F401"]