-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
explicitly note that arbitrary strings are supported by flake8 - [closed] #1253
Comments
In GitLab by @keisheiled on Nov 27, 2019, 03:15 restored source branch |
In GitLab by @codecov on Nov 27, 2019, 03:16 Codecov Report
@@ Coverage Diff @@
## master #385 +/- ##
=======================================
Coverage 82.74% 82.74%
=======================================
Files 24 24
Lines 2416 2416
Branches 378 378
=======================================
Hits 1999 1999
Misses 355 355
Partials 62 62 Continue to review full report at Codecov.
|
In GitLab by @keisheiled on Nov 27, 2019, 03:19 Context: flake8-implicit-str-concat/flake8-implicit-str-concat#3 if this MR or a similar suggestion is not merged I'd like to see |
In GitLab by @pjacock on Nov 27, 2019, 03:20 +1 for much stronger language recommending the |
In GitLab by @keisheiled on Nov 27, 2019, 03:21 @pjacock which IDEs do not support all possible flake8 error codes currently? |
In GitLab by @pjacock on Nov 27, 2019, 03:25 The example I was thinking of has since been fixed to support |
In GitLab by @hugovk on Nov 27, 2019, 03:27 Examples from flake8-implicit-str-concat/flake8-implicit-str-concat#3: Should Flake8 plugins use error codes like And can the Flake8 project offer guidance or requirements? |
In GitLab by @hugovk on Nov 27, 2019, 04:27 From the docs on "Error / Violation Codes":
|
In GitLab by @keisheiled on Nov 27, 2019, 04:36 error code doesn't actually have a glossary definition, this would be a good place to add such a recommendation on what they should actually look like: http://flake8.pycqa.org/en/latest/glossary.html#term-error-code |
In GitLab by @pjacock on Nov 27, 2019, 05:04 @keisheiled my reading of that page is that error, error code, and violation are interchangeable terms. |
In GitLab by @asottile on Nov 27, 2019, 05:46 arbitrary strings are not supported, they may appear to work in some cases but the framework really should be raising errors in those cases -- could you please open an issue for that? here is what's supported: https://gitlab.com/pycqa/flake8/blob/e571167161a42a5da052eaf247ab13ac0c56b7c6/src/flake8/defaults.py#L39 |
In GitLab by @asottile on Nov 27, 2019, 05:46 closed |
In GitLab by @pjacock on Nov 27, 2019, 06:13 New issue opened as requested, see #597. |
In GitLab by @keisheiled on Nov 27, 2019, 03:13
Merges patch-1 -> master
The text was updated successfully, but these errors were encountered: