-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathtox.ini
76 lines (70 loc) · 3.31 KB
/
tox.ini
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
# Copyright 2021 Sony Corporation.
# Copyright 2021 Sony Group Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[flake8]
# it's not a bug that we aren't using all of hacking, ignore:
# F812: list comprehension redefines ...
# E121: continuation line under-indented for hanging indent
# E122: continuation line missing indentation or outdented
# E123: closing bracket does not match indentation of opening bracket's line
# E126: continuation line over-indented for hanging indent
# E226: missing whitespace around arithmetic operator
# E265: block comment should start with '# '
# E266: too many leading '#' for block comment
# E402: module level import not at top of file
# E501: line too long (82 > 79 characters)
# E704: multiple statements on one line (def)
# E722: do not use bare except, specify exception instead
# E741: ambiguous variable name
# H101: Use TODO(NAME)
# H202: assertRaises Exception too broad
# H233: Python 3.x incompatible use of print operator
# H301: one import per line
# H306: imports not in alphabetical order (time, os)
# H401: docstring should not start with a space
# H403: multi line docstrings should end on a new line
# H404: multi line docstring should start without a leading new line
# H405: multi line docstring summary not separated with an empty line
# H501: Do not use self.__dict__ for string formatting
# W291: trailing whitespace
# W503: line break before binary operator
# W504: line break after binary operator
# W605: invalid escape sequence
ignore = F812,
E121,E122,E123,E126,E226,E265,E266,E402,E501,E704,E722,E741,
H101,H202,H233,H301,H306,H401,H403,H404,H405,H501,
W291,W503,W504,W605
exclude = obsolete
per-file-ignores =
_*.py:F401,
GANs/esrgan/args.py:F403,F405,
GANs/esrgan/esrgan_model.py:F403,F405,
GANs/esrgan/train.py:F403,F405,
GANs/pix2pixHD/generate.py:F403,F405,
GANs/pix2pixHD/train.py:F403,F405,
GANs/pix2pixHD/trainer.py:F403,F405,
GANs/spade/generate.py:F403,F405,
GANs/spade/train.py:F403,F405,
GANs/stylegan2-distillation/generate.py:F403,F405,
GANs/stylegan2-distillation/train.py:F403,F405,
NAS/DARTS/darts_search.py:F403,F405,
NAS/DARTS/darts_train.py:F403,F405,
data_augmentation/classification_MDL.py:F403,F405,
facial-keypoint-detection/face-alignment/model_inference.py:F403,F405,
object-detection/yolov2/region_loss_utils.py:F403,F405,
object-detection/yolov2/train.py:F403,F405,
object-detection/yolov2/train_graph.py:F403,F405,
utils/neu/html_creator.py:F403,F405,
utils/neu/metrics/gan_eval/inceptionv3.py:F541,
builtins = func,_