forked from JiangJiaWei1103/Enefit-39th-Place-Solution
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
32 lines (29 loc) · 773 Bytes
/
pyproject.toml
File metadata and controls
32 lines (29 loc) · 773 Bytes
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
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
line-length = 119
target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
include = '\.pyi?$'
extend-exclude = '''
/(
\.mypy_cache
| \.tox
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 119
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
check_untyped_defs = true
warn_redundant_casts = true
no_implicit_optional = true
# Disable strict checking of Optional types and `None` values
no_strict_optional = true
allow_redefinition = true
#exclude = ['']