2016-03-02 22:16:58 +00:00
|
|
|
[nosetests]
|
|
|
|
verbosity=3
|
2016-03-06 20:38:21 +00:00
|
|
|
with-doctest=1
|
|
|
|
|
|
|
|
[bdist_wheel]
|
|
|
|
# This flag says that the code is written to work on both Python 2 and Python 3.
|
|
|
|
universal=1
|
2017-01-30 00:26:50 +00:00
|
|
|
|
|
|
|
[flake8]
|
2017-01-30 00:42:34 +00:00
|
|
|
exclude = .git,.tox,.github,.eggs,__pycache__,doc/conf.py,build,dist,capabilities-data,test,src/escpos/constants.py
|
2017-01-30 00:41:01 +00:00
|
|
|
max-line-length = 120
|
2018-05-15 22:34:45 +00:00
|
|
|
accept-encoding = utf-8, utf-16
|
|
|
|
require-code = True
|
|
|
|
# FI12 __future__ import "with_statement" missing
|
|
|
|
# FI15 __future__ import "generator_stop" missing
|
|
|
|
# FI16 __future__ import "nested_scopes" missing
|
|
|
|
# FI17 __future__ import "generators" missing
|
|
|
|
# FI5x __future__ import "xxx" present
|
2018-05-15 23:57:37 +00:00
|
|
|
# I101 Imported names are in the wrong order.
|
|
|
|
ignore = FI12,FI15,FI16,FI17,FI5, I101
|
2018-05-15 22:34:45 +00:00
|
|
|
copyright-check = True
|