Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add configuration of pycodestyle via tox
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Aug 20, 2020
1 parent 548666e commit 1cedc00
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ passenv =
HOME
commands =
{toxinidir}/../sage -t -p 0 {posargs:--all}

[pycodestyle]
# Check for the following issues:
# E401: multiple imports on one line
# E701: multiple statements on one line (colon)
# E702: multiple statements on one line (semicolon)
# W605: invalid escape sequence ‘x’
# See https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
select = E401,E701,E702,W605
max-line-length = 160

0 comments on commit 1cedc00

Please sign in to comment.