Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: flake8-eyeo/setup.py

Issue 29977590: Issue 7196 - Centralize flake8 configuration
Patch Set: Created Jan. 10, 2019, 12:46 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « flake8-eyeo/flake8_eyeo.py ('k') | flake8-eyeo/tox.ini » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: flake8-eyeo/setup.py
===================================================================
--- a/flake8-eyeo/setup.py
+++ b/flake8-eyeo/setup.py
@@ -53,7 +53,7 @@
return errors
def _get_reported_errors(self, filename):
- output = subprocess.Popen(['flake8', filename],
+ output = subprocess.Popen(['flake8', '--select=A', filename],
stdout=subprocess.PIPE).communicate()[0]
errors = set()
@@ -102,9 +102,15 @@
name='flake8-eyeo',
version='0.1',
py_modules=['flake8_eyeo'],
- install_requires=['flake8>=3.2.1'],
+ install_requires=[
+ 'flake8>=3.2.1',
+ 'flake8-docstrings',
+ 'flake8-commas',
+ 'pep8-naming',
+ ],
entry_points={
'flake8.extension': [
+ '_ = flake8_eyeo:DefaultConfigOverride',
'A = flake8_eyeo:check_ast',
'A1 = flake8_eyeo:check_quotes',
'A111 = flake8_eyeo:check_redundant_parenthesis',
« no previous file with comments | « flake8-eyeo/flake8_eyeo.py ('k') | flake8-eyeo/tox.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld