Commit Graph

17 Commits

Author SHA1 Message Date
Felix Schwarz 3f68f40a38 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-06-01 22:47:34 +02:00
Thomas Waldmann b0afc6709b flake8: use separate lines for different classes of flake8 ignores 2018-10-29 12:36:07 +01:00
Thomas Waldmann 5c66a60f79 flake8: fix W605 (invalid escape sequences) 2018-10-29 12:36:07 +01:00
Thomas Waldmann 10cdadb2f8 flake8: fix F841 2018-10-29 12:36:03 +01:00
Thomas Waldmann fc4a7bc0c9 flake8: disable the new checks of flake8 3.6 for now 2018-10-29 12:35:12 +01:00
Milkey Mouse 1e520203cb
Fix borg config flake8 failures
Suppressed E731 so lambdas can be assigned to vars
2017-11-23 14:54:53 -08:00
Thomas Waldmann bb1c7a7f57 flake8: add some ignores 2017-10-29 11:39:13 +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