forked from projecthamster/hamster-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DX: Work-around: Tox crashes on flake8 format setting.
- Running flake8 via tox, e.g., `tox -e flake8` crashes. Setuptools uses configparser to read the config, which throws configparser.InterpolationMissingOptionError because of the percent (%) symbols in the format string. - Ref: pytest-dev/pytest#3062 pypa/pip#5182
- Loading branch information
1 parent
df5603d
commit 23f02b5
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# vim:tw=0:ts=2:sw=2:et:norl:ft=config | ||
[flake8] | ||
# Add a space after the path to make the output path easier to double-click-copy. | ||
format=%(path)s %(row)d:%(col)d: %(code)s %(text)s | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters