Robert Blenis
df1014ec67
fix pep8 violations - errorlist.py
2021-04-18 11:00:22 -04:00
Robert Blenis
d11f1a7454
fix pep8 violations - conftest.py
2021-04-18 10:59:19 -04:00
Robert Blenis
71cc8b06b8
cleanup flake8 checks
...
- make code style exceptions tailored to specific files, so that it's less likely that new violations creep into the code.
2021-03-28 09:10:17 -04:00
Felix Schwarz
81aa12bdb0
declare "allow_cache_wipe" marker in setup.cfg to avoid pytest warning
...
Undeclared markers trigger a pytest warning:
PytestUnknownMarkWarning: Unknown pytest.mark.allow_cache_wipe - is this a typo?
2020-09-25 21:21:37 +02:00
Thomas Waldmann
f9cb04079d
setup.py: also build a bundled msgpack
...
based on a patch by felix schwarz, thanks!
changes after that:
build msgpack cpp files at release time, do not use cython otherwise.
we want to include .cpp (and .c) files into the sdist, so users
installing the pypi package won't need to have cython installed.
also: python setup.py clean shall also cleanup the *.cpp and binaries
built from that.
.gitignore: ignore generated msgpack .cpp sources
setup.cfg: flake8: ignore 3rd party bundled msgpack source
2019-05-13 23:29:17 +02:00
Thomas Waldmann
50df335f37
flake8: use separate lines for different classes of flake8 ignores
...
(cherry picked from commit b0afc6709b )
2018-11-04 20:01:06 +01:00
Thomas Waldmann
76185efb84
flake8: fix W605 (invalid escape sequences)
...
(cherry picked from commit 5c66a60f79 )
2018-11-04 19:58:46 +01:00
Thomas Waldmann
78c6d21a08
flake8: fix F841
...
(cherry picked from commit 10cdadb2f8 )
2018-11-04 19:58:17 +01:00
Thomas Waldmann
b628166c5a
flake8: disable the new checks of flake8 3.6 for now
...
(cherry picked from commit fc4a7bc0c9 )
2018-11-04 19:50:00 +01:00
Milkey Mouse
15d9c94981
Fix borg config flake8 failures
...
Suppressed E731 so lambdas can be assigned to vars
2017-11-24 16:39:27 -08:00
Thomas Waldmann
94fa3fae3f
flake8: add some ignores
...
(cherry picked from commit bb1c7a7f57 )
2017-10-29 11:45:30 +01:00
Thomas Waldmann
dedc4c0695
setup.cfg: fix pytest deprecation warning, fixes #2050
2017-01-14 23:06:16 +01:00
Thomas Waldmann
745007bd12
flake8: ignore F405, fixes #1185
...
We know that star imports have their issues and we only have one of them,
for good reasons. Thus, we switch off that new F405 test/message.
2016-06-19 14:40:11 +02:00
Thomas Waldmann
2a2362fc2f
add flake8 style checking
2016-01-30 22:01:27 +01:00
Antoine Beaupré
e1b2f0f3f0
remove silenced warnings that were not triggered anyways
...
line length comes from @tw - i would prefer 80 columns personnally, but don't want to argue over that bikeshed
the 120 limit *does* trigger warnings right now, but it's better to do that than to make the problem worse for future PRs
2015-10-20 14:43:49 -04:00
Thomas Waldmann
d4de0fd019
remove remainders of versioneer, typo fix.
2015-09-19 21:44:40 +02:00
Thomas Waldmann
0580f2b4eb
style and cosmetic fixes, no semantic changes
...
use simpler super() syntax of python 3.x
remove fixed errors/warnings' codes from setup.cfg flake8 configuration
fix file exclusion list for flake8
2015-07-11 18:31:49 +02:00
Thomas Waldmann
e1c7da1f53
add flake8 configuration (style checker)
...
currently adjusted in a way it does not throw errors and warnings with
the source as it is now.
issues will get fixed over time and the exclude list shall get shorter.
2015-05-22 21:28:00 +02:00
Thomas Waldmann
906ea629f6
use py.test for testing, document it
...
locally (via tox) and also on travis ci.
2015-05-22 21:26:41 +02:00
Jonas Borgström
8a2f555c68
Packaging improvements
2013-06-24 13:53:02 +02:00
Jonas Borgström
1d525b4dc5
Bumped version number
2011-11-06 21:40:29 +01:00