-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
117 lines (104 loc) · 1.92 KB
/
setup.cfg
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[metadata]
name = cr_seg
version = 0.0
description = A short description of the project.
author = Yingcheng Liu
author_email = [email protected]
license = MIT
[options]
zip_safe = false
include_package_data = true
python_requires = >= 3.9
packages = cr_seg
setup_requires =
setuptools
# setuptools >=30.3.0 # minimal version for `setup.cfg`
# setuptools >=38.3.0 # version with most `setup.cfg` bugfixes
# setuptools >=46.4.0 # let's you use attr: to extract version from a module
# TODO: pip install . resulted in installing other dependencies <13-01-22, YL> #
install_requires =
pre-commit
black
isort
mypy
flake8
autoflake
[flake8]
# ^ Black-compatible
# E203 and W503 have edge cases handled by black
ignore =
# E203 and W503 have edge cases handled by black
W503
E203
max-line-length = 88
per-file-ignores =
**/__init__.py: F401,F403,E402
__init__.py: F401,F403,E402
exclude =
.git
.nox
.tox
envs
log
build
dist
[isort]
line_length=88
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
ensure_newline_before_comments=True
known_myself = cr_seg
extra_standard_library =
setuptools
known_third_party =
numpy
joblib
scipy
tqdm
pandas
yaml
fvcore
matplotlib
cv2
torch
torchvision
PIL
pycocotools
yacs
termcolor
cityscapesscripts
tabulate
lvis
psutil
pkg_resources
caffe2
onnx
streamlit
dateparser
pingouin
statsmodels
sklearn
altair
boto3
seaborn
monai
streamlit
sections =
FUTURE
STDLIB
THIRDPARTY
FIRSTPARTY
known_myself
MYSELF
LOCALFOLDER
default_section = FIRSTPARTY
[mypy]
python_version = 3.9
# error control
show_column_numbers = True
show_error_context = True
# import handling
follow_imports = silent
ignore_missing_imports = True