forked from pystiche/pystiche
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (51 loc) · 1.09 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (51 loc) · 1.09 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
[tool.isort]
# See link below for available options
# https://github.com/timothycrosley/isort/wiki/isort-Settings#full-reference-of-isort-settings
skip = [
".git",
".github",
".venv",
".mypy_cache",
".pytest_cache",
"__pycache__",
"docs/build",
"pystiche/image/__init__.py",
]
skip_glob = ["docs/source/galleries/*"]
line_length = 88
use_parentheses = true
multi_line_output = 3
force_grid_wrap = 0
include_trailing_comma = true
known_standard_library = ["setuptools", "typing_extensions"]
known_third_party = [
"dill",
"matplotlib",
"numpy",
"PIL",
"pillow_affine",
"pyimagetest",
"pytest",
"requests",
"sphinx_gallery",
]
known_pytorch = ["torch", "torchvision"]
known_first_party = ["pystiche"]
sections= ["FUTURE", "STDLIB", "THIRDPARTY", "PYTORCH", "FIRSTPARTY", "LOCALFOLDER"]
[tool.black]
# See link below for available options
# https://github.com/psf/black#configuration-format
line-length = 88
target-version = ["py36"]
exclude = '''
/(
\.git
| \.github
| \.venv
| \.mypy_cache
| \.pytest_cache
| __pycache__
| docs/build
| docs/source/galleries/*
)/
'''