-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix "Edit in Github" link #3427
Changes from all commits
eb264ee
b982bf7
a15cc81
36b7755
234356b
87fed40
e08dda4
1b49e59
2508f1b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[flake8] | ||
ignore = E125,D100,D101,D102,D103,D105,D106,D107,D200,D202,D211,P101,FI15,FI16,FI12,FI11,FI17,FI50,FI53,FI54,MQ101,T000 | ||
ignore = E125,D100,D101,D102,D103,D105,D106,D107,D200,D202,D211,D403,P101,FI15,FI16,FI12,FI11,FI17,FI50,FI53,FI54,MQ101,T000 | ||
max-line-length = 80 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ repos: | |
- id: yapf | ||
exclude: 'migrations|settings|scripts' | ||
additional_dependencies: ['futures'] | ||
args: ['--style=.style.yapf', '--parallel'] | ||
args: ['--style=.style.yapf', '--parallel', '--in-place'] | ||
|
||
- repo: [email protected]:FalconSocial/pre-commit-python-sorter.git | ||
sha: b57843b0b874df1d16eb0bef00b868792cb245c2 | ||
|
@@ -44,7 +44,7 @@ repos: | |
args: ['--silent-overwrite'] | ||
|
||
- repo: [email protected]:humitos/mirrors-docformatter.git | ||
sha: v0.8 | ||
sha: v0.0.1 | ||
hooks: | ||
- id: docformatter | ||
args: ['--in-place', '--wrap-summaries=80', '--wrap-descriptions=80', '--pre-summary-newline', '--no-blank'] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ pep257: | |
- D106 # Missing docstring in public nested class | ||
|
||
# pydocstyle | ||
- D403 # First word of the first line should be properly capitalized ('Github', not 'GitHub') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This comment is the error message that prospector produces. I'm pasting the comment here to understand why I'm ignoring this particular code. In this case, |
||
- D406 # Section name should end with a newline ('Examples', not 'Examples::') | ||
- D407 # Missing dashed underline after section ('Examples') | ||
- D412 # No blank lines allowed between a section header and its content ('Examples') | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,7 @@ class Meta(object): | |
'identifier', 'verbose_name', | ||
'active', 'built', | ||
'downloads', | ||
'type', | ||
) | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a huge fan of constantly changing these.. any reason this is here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm adding it here because I also add it to prospector.
flake8
is used inpre-commit
command and also in the IDE linter (emcas, vim, atom, pycharm, etc) if you have it configured.We need a consistency between prospector and flake8.