forked from profusion/sgqlc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
57 lines (52 loc) · 1.38 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
[egg_info]
tag_build = dev
tag_date = true
[aliases]
release = egg_info -Db ''
create_release = egg_info -Db '' sdist bdist_egg bdist_wheel build_sphinx nosetests
test = nosetests
[nosetests]
verbosity=3
with-doctest=1
with-coverage=1
cover-html=1
cover-xml=1
exe=1
ignore-files=(^setup[.]py$|^[.]|^sgqlc/codegen/__init__[.]py$)
cover-package=sgqlc
cover-min-percentage=100
tests= sgqlc/__init__.py,
sgqlc/types/__init__.py,
sgqlc/types/datetime.py,
sgqlc/types/relay.py,
sgqlc/operation/__init__.py,
sgqlc/codegen/operation.py,
tests/test-endpoint-http.py,
tests/test-endpoint-websocket.py,
tests/test-endpoint-requests.py,
tests/test-introspection.py
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
[flake8]
exclude =
.git,
.venv,
.eggs,
__pycache__,
doc/source/conf.py,
build,
dist,
examples/github/github_schema.py,
examples/github/sample_operations.py,
examples/shopify/shopify_schema.py,
examples/shopify/shopify_operations.py
# I801: from x import Y
# RST304: :class:, :func:, :mod: are supported by sphinx
# RST303: literalinclude is supported by sphinx
# N999: ignore dashes in the name (ideally only disabled for examples/)
# W503: old coding style (new PEP8 is enforced by W504)
ignore = I801,RST303,RST304,N999,W503
max-complexity = 10
known-modules = websocket-client:[websocket],graphql-core:[graphql]