forked from chanzuckerberg/single-cell-curation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (41 loc) · 963 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
42
43
[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
| virtualenv
| _build
| buck-out
| build
| dist
| vendor
| vendor.in
| node_modules
)/
)
'''
[tool.ruff]
select = ["E", "F", "B", "SIM", "C4", "I"]
ignore = ["E501", "E402", "C408", "SIM112"]
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 = ["scripts"] instead of modules = ["scripts"] because packages will recursive
# check subdirectories, while modules does not.
packages = ["scripts"]
exclude = ["scripts.compute_mappings.tests"]
strict = true
show_error_codes = true
ignore_missing_imports = true
warn_unreachable = true
warn_unused_configs = true