forked from chanzuckerberg/single-cell-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
41 lines (37 loc) · 934 Bytes
/
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
[tool.black]
line-length = 120
target_version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| _build
| buck-out
| build
| dist
| backend/server/data_common/fbs/NetEncoding
)/
)
'''
[tool.ruff]
select = ["E", "F", "B", "SIM", "C4", "I"]
ignore = ["E501", "E402", "C408", ]
line-length = 120
target-version = "py38"
[tool.mypy]
# here is where we tell mypy to only check the scripts package. note that we're using
# packages = ["server.common.utils"] instead of modules = ["server.common.utils"] because
# packages will recursively check subdirectories, while modules does not.
packages = ["server.common.utils"]
strict = true
show_error_codes = true
ignore_missing_imports = true
warn_unreachable = true
warn_unused_configs = true