forked from InterDigitalInc/CompressAI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (33 loc) · 790 Bytes
/
pyproject.toml
File metadata and controls
36 lines (33 loc) · 790 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
33
34
35
36
[build-system]
requires = ["setuptools>=42", "wheel", "pybind11>=2.6.0",]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38', 'py39']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| venv*
| _build
| build
| dist
)/
'''
[tool.isort]
multi_line_output = 3
lines_between_types = 1
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
known_third_party = "PIL,pytorch_msssim,torchvision,torch"
skip_gitignore = true
[tool.pytest.ini_options]
markers = [
"pretrained: download and check pretrained models (slow, deselect with '-m \"not pretrained\"')",
"slow: all slow tests (pretrained models, train, etc...)",
]