Skip to content

Commit d7cf749

Browse files
committed
Move pep8radius config to setup.cfg.
1 parent f177f62 commit d7cf749

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

setup.cfg

+6
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ addopts = --capture=sys
1010
--ignore=mycli/magic.py
1111
--ignore=mycli/packages/parseutils.py
1212
--ignore=test/features
13+
14+
[pep8]
15+
rev = master
16+
docformatter = True
17+
diff = True
18+
error-status = True

tasks.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ def initialize_options(self):
6969

7070
def run(self):
7171
"""Run the linter."""
72-
cmd = ('pep8radius {branch} --docformatter --diff --error-status'
73-
'{{fix: --in-place}}{{verbose: -vv}}')
72+
cmd = 'pep8radius {branch} {{fix: --in-place}}{{verbose: -vv}}'
7473
cmd = cmd.format(branch=self.branch)
7574
self.call_and_exit(self.apply_options(cmd, ('fix', )))
7675

0 commit comments

Comments
 (0)