2016-11-12 20:27:25 +03:00
|
|
|
[aliases]
|
|
|
|
test=pytest
|
|
|
|
|
2017-08-08 00:25:22 +03:00
|
|
|
[bdist_wheel]
|
|
|
|
universal=1
|
|
|
|
|
2016-09-18 03:09:56 +03:00
|
|
|
[flake8]
|
2019-06-24 20:55:44 +03:00
|
|
|
exclude = docs,graphene_django/debug/sql/*,migrations
|
2016-09-18 03:09:56 +03:00
|
|
|
max-line-length = 120
|
2019-06-24 20:55:44 +03:00
|
|
|
select =
|
|
|
|
# Dictionary key repeated
|
|
|
|
F601,
|
|
|
|
# Ensure use of ==/!= to compare with str, bytes and int literals
|
|
|
|
F632,
|
|
|
|
# Redefinition of unused name
|
|
|
|
F811,
|
|
|
|
# Using an undefined variable
|
|
|
|
F821,
|
|
|
|
# Defining an undefined variable in __all__
|
|
|
|
F822,
|
|
|
|
# Using a variable before it is assigned
|
|
|
|
F823,
|
|
|
|
# Duplicate argument in function declaration
|
|
|
|
F831,
|
|
|
|
# Black would format this line
|
|
|
|
BLK,
|
|
|
|
# Do not use bare except
|
|
|
|
B001,
|
|
|
|
# Don't allow ++n. You probably meant n += 1
|
|
|
|
B002,
|
|
|
|
# Do not use mutable structures for argument defaults
|
|
|
|
B006,
|
|
|
|
# Do not perform calls in argument defaults
|
|
|
|
B008
|
2016-09-18 03:09:56 +03:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
omit = */tests/*
|
|
|
|
|
|
|
|
[isort]
|
|
|
|
known_first_party=graphene,graphene_django
|
2019-07-07 22:11:27 +03:00
|
|
|
multi_line_output=3
|
|
|
|
include_trailing_comma=True
|
|
|
|
force_grid_wrap=0
|
|
|
|
use_parentheses=True
|
|
|
|
line_length=88
|