Skip to content

Commit

Permalink
[python linting] tweak options
Browse files Browse the repository at this point in the history
Summary:
There's no need to specify --select when we're picking all the options.

It turns out that autopep8 with W50x options is a bit buggy, so disable that for now.
hhatto/autopep8#518

Test Plan:
    arc lint --everything

(tried on flake8 3.5.0, 3.6.0, and 3.7.9 latest)

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5219
  • Loading branch information
markblundeberg committed Feb 9, 2020
1 parent 62397a4 commit 3363792
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .arclint
Expand Up @@ -17,16 +17,15 @@
"version": ">=1.3.4",
"include": "(\\.py$)",
"flags": [
"--select=E,W",
"--aggressive"
"--aggressive",
"--ignore=W503,W504"
]
},
"flake8": {
"type": "flake8",
"version": ">=3.0",
"include": "(\\.py$)",
"flags": [
"--select=E,W,F",
"--ignore=E501,E704,W503,W504"
]
},
Expand Down

0 comments on commit 3363792

Please sign in to comment.