-
Notifications
You must be signed in to change notification settings - Fork 83
/
setup.cfg
78 lines (56 loc) · 2.44 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
[mypy-bottle,diffimg,fuse,psutil,boto3,retry]
ignore_missing_imports = True
[mypy-argcomplete,argcomplete.completers]
ignore_missing_imports = True
[mypy-docker,docker.errors]
ignore_missing_imports = True
[mypy-marshmallow,marshmallow_jsonapi,marshmallow.fields]
ignore_missing_imports = True
[mypy-oauthlib,oauthlib.common,oauthlib.oauth2]
ignore_missing_imports = True
[mypy-selenium,selenium.webdriver,selenium.webdriver.common.by,selenium.webdriver.common.keys,selenium.webdriver.support,selenium.webdriver.support.wait]
ignore_missing_imports = True
[mypy-setuptools,setuptools.command.install]
ignore_missing_imports = True
[mypy-sqlalchemy,sqlalchemy.types,sqlalchemy.sql.schema,sqlalchemy.sql.expression,sqlalchemy.pool,sqlalchemy.engine.reflection,sqlalchemy.orm]
ignore_missing_imports = True
[mypy-watchdog.observers,watchdog.events]
ignore_missing_imports = True
[mypy-webtest,webtest]
ignore_missing_imports = True
[mypy-freezegun,freezegun]
ignore_missing_imports = True
[mypy-spython.main, spython.main]
ignore_missing_imports = True
[flake8]
max-line-length = 200
exclude = venv/*,var/*,alembic/*,frontend/*,codalab/lib/beam/blobstorageuploader.py,codalab/lib/beam/streamingzipfile.py
# Ignore completely:
# E203 - White space before ':', (conflicts with black)
# E731 - do not assign a lambda expression, use a def
#
# W503 - line break before binary operator, (conflicts with black)
# W605 - invalid escape sequence '\', (causes failures)
# Ignore on a per file basis:
# F401 - module imported but not used
# E501 - line too long, exceeds max-line-length
ignore = E203,E731,W503,W605,E231
per-file-ignores =
# Keep the unused imports as they are used to route the rest service
codalab/server/rest_server.py: F401
# Modifying those texts in accordance with flake8 will change how the generated markdown look like
./scripts/gen-rest-docs.py: E501
[mypy-apache_beam,apache_beam.io.filesystem,apache_beam.io.filesystems,apache_beam.io.localfilesystem,apache_beam.io,apache_beam.io.filesystemio,apache_beam.io.azure,apache_beam.io.azure.blobstorageio]
ignore_missing_imports = True
[mypy-azure.storage.blob]
ignore_missing_imports = True
[mypy-google.cloud]
ignore_missing_imports = True
[mypy-markdown2]
ignore_missing_imports = True
[mypy-urllib3,urllib3.util.retry]
ignore_missing_imports = True
[mypy-ratarmountcore]
ignore_missing_imports = True
[mypy-kubernetes,kubernetes.client.rest,kubernetes.utils.create_from_yaml]
ignore_missing_imports = True