Skip to content

Commit

Permalink
move flake8 color option from config file to command line
Browse files Browse the repository at this point in the history
Bug: T117570
Change-Id: Ie0a6dfff82ad99cb05db0c4dab40500d81a2405b
  • Loading branch information
JJMC89 committed Mar 30, 2023
1 parent 1932bcd commit 492bb55
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ usedevelop = True
commands =
python --version
flake8: flake8 --version
flake8-py36: flake8 --doctests {posargs} {[params]exclude}
flake8-py38: flake8 --doctests {posargs}
flake8-py39: flake8 --doctests {posargs}
flake8-py36: flake8 --color always --doctests {posargs} {[params]exclude}
flake8-py38: flake8 --color always --doctests {posargs}
flake8-py39: flake8 --color always --doctests {posargs}

hacking: flake8 --version
hacking: flake8 --format=default {posargs}
Expand Down Expand Up @@ -134,10 +134,8 @@ deps =
ignore = B007,D105,D211,D401,D413,D412,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,W503
enable-extensions = H203,H204,H205,N818

color = always
count = True
exclude = .tox,.git,./*.egg,build,./scripts/i18n/*
# format = %(blue)s%(path)s%(reset)s: %(bold)sline %(row)d:%(reset)s%(col)d: %(bold)s%(red)s%(code)s%(reset)s %(text)s
max-complexity = 50

# The following are to be fixed
Expand Down

0 comments on commit 492bb55

Please sign in to comment.