-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (58 loc) · 1.04 KB
/
pyproject.toml
File metadata and controls
62 lines (58 loc) · 1.04 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]
[tool.pytest.ini_options]
python_files = "*.py"
testpaths = [
"tests",
]
#--ignore=E203,E302
[tool.flake8]
exclude = [
"*/tests",
"fgsim/geo/libs/*",
"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 = ['py38']
[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