Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add optional `prefer-typing-namedtuple` message (#8681)HEADmain | Jacob Walls | 2023-05-16 | 4 | -0/+15 |
| | | | Closes #8660 | ||||
* | Add new checker `kwarg-superseded-by-positional-arg` and fix a false ↵ | Mark Byrne | 2023-05-16 | 2 | -0/+10 |
| | | | | | | | | | | positive (#8644) * Fix a false positive for ``redundant-keyword-arg`` when a function, with a keyword-only-parameter and ``**kwargs``, is called with a positional argument and a keyword argument where the keyword argument has the same name as the positional-only-parameter. * Add new checker ``kwarg-superseded-by-positional-arg`` which emits a warning message for the above scenario. Closes #8558 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Uniformize message and remove useless details.rst | Pierre Sassoulas | 2023-05-03 | 3 | -9/+0 |
| | |||||
* | [doc] Add warning for empty sequences in ↵ | Pierre Sassoulas | 2023-05-02 | 3 | -4/+7 |
| | | | | 'use-implicit-booleaness-not-comparison' | ||||
* | Merge the empty-string extensions to 'implicit_booleaness_checker' | Pierre Sassoulas | 2023-05-02 | 7 | -18/+17 |
| | |||||
* | Merge the compare-to-zero extensions to 'implicit_booleaness_checker' | Pierre Sassoulas | 2023-05-02 | 7 | -18/+17 |
| | |||||
* | [doc] Apply black on the documentation where it makes sense (#8650) | Pierre Sassoulas | 2023-05-02 | 148 | -161/+221 |
| | | | Co-authored-by: Daniel van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | [Doc] Improving implicit-str-concat/details.rst (#8649) | Lucas Cimon | 2023-05-01 | 2 | -1/+13 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [Doc] Create implicit-str-concat/details.rst (#8648) | Lucas Cimon | 2023-05-01 | 1 | -0/+15 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 17 | -18/+18 |
| | |||||
* | Allow integers in TypeAlias names (#8488) | Stephane Odul | 2023-03-28 | 1 | -5/+5 |
| | |||||
* | Add doc for ``bad-file-encoding``, ``return-arg-in-generator`` (#8447) | Daniël van Noord | 2023-03-20 | 7 | -6/+6 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [pre-commit] Configure ruff to sort import | Pierre Sassoulas | 2023-03-10 | 1 | -1/+9 |
| | | | | I'm not sure if ruff handle first party / third parties, but it's good enough for the doc | ||||
* | Document ignoring pragmas for calculating line length (#8380) | Jacob Walls | 2023-03-04 | 1 | -0/+2 |
| | |||||
* | [doc] Add an example for 'missing-format-string-key' (#8379) | Pierre Sassoulas | 2023-03-03 | 3 | -2/+14 |
| | |||||
* | [pre-commit] Transition from flake8/autoflake to ruff (#8372) | Pierre Sassoulas | 2023-03-02 | 1 | -4/+3 |
| | | | | | ruff is faster and support pyproject.toml. flake8-typing-import is not implemented but it checks for things in python version < 3.7.2 that we do not support. | ||||
* | Add ``invalid-name`` check for ``TypeAlias`` names (#7116) | Daniël van Noord | 2023-02-26 | 1 | -6/+16 |
| | |||||
* | Add new checker `bad-chained-comparison` (#7990) | Zen Lee | 2023-02-26 | 3 | -0/+7 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add new check "implicit-flag-alias" (#8345) | James Addison | 2023-02-26 | 2 | -0/+14 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [doc] Add an example for 'non-ascii-file-name' (#8340) | Pierre Sassoulas | 2023-02-25 | 7 | -2/+5 |
| | | | | | And move links to related.rst Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | ||||
* | [doc] Add an example for suppressed-message (#8328) | Pierre Sassoulas | 2023-02-22 | 3 | -2/+14 |
| | | | | | | | | I initially wanted to activate invalid-name so we follow pep8 in our examples but there's more than 50 violations right now. I much prefer to keep all of these weird issues contained to one documentation example rather than affecting all other tests for it. Co-authored-by: Daniel van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Add documentation for 'too-many-lines' (#8323) | Ollie | 2023-02-21 | 7 | -2/+39 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [doc] Add an example for 'duplicate-code' | Pierre Sassoulas | 2023-02-20 | 7 | -2/+66 |
| | |||||
* | [doc] Add an example for 'too-many-locals' (#8306) | Pierre Sassoulas | 2023-02-17 | 4 | -2/+76 |
| | |||||
* | [doc] 'file-ignored' and 'import-private-name' (#8304) | Ollie | 2023-02-16 | 7 | -4/+22 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [doc] 'truncated-format-string' and 'logging-unsupported-format' (#8295) | Ollie | 2023-02-15 | 6 | -4/+12 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [doc] missing-any-param-doc, missing-kwon, subprocess-popen-preexec-fn, ↵ | Ollie | 2023-02-14 | 13 | -8/+40 |
| | | | | | | typevar-name-incorrect-variance (#8288) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [doc] deprecated-... class, decorator, method, pragma and typing-alias (#8284) | Ollie | 2023-02-14 | 19 | -11/+43 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [doc] Do not use real code for 'self-import' (#8286) | Pierre Sassoulas | 2023-02-13 | 3 | -7/+12 |
| | | | Closes #8273 | ||||
* | [doc] consider ...-alternative-union-syntax, -alias and ↵ | Ollie | 2023-02-13 | 12 | -6/+50 |
| | | | | | | namedtuple-or-dataclass (#8271) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix ``duplicate-string-formatting-argument`` comment mistakenly left in ↵ | Ollie | 2023-02-13 | 1 | -1/+0 |
| | | | | | | good.py (#8270) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add documentation for duplicate-string-formatting-argument and ↵ | Ollie | 2023-02-12 | 6 | -4/+43 |
| | | | | | | bidirectional-unicode (#8269) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Doc for 'unexpected-line-ending-format' (#8255) | Robert Hofer | 2023-02-12 | 5 | -2/+9 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add example for deprecated-module (#8247) | Ollie | 2023-02-09 | 4 | -2/+8 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | doc for boolean-datetime | Robert Hofer | 2023-02-08 | 5 | -2/+20 |
| | |||||
* | doc for unsupported-binary-operation | Robert Hofer | 2023-02-08 | 4 | -2/+6 |
| | |||||
* | Adding documentation for invalid-character-sub and ↵ | Ollie | 2023-02-08 | 6 | -4/+4 |
| | | | | invalid-character-zero-width-space (#8242) | ||||
* | Add documentation for invalid-character-backspace and invalid-character-esc ↵ | Ollie | 2023-02-08 | 6 | -4/+4 |
| | | | | (#8238) | ||||
* | Add doc for inline message suppression (#8239) | Robert Hofer | 2023-02-08 | 6 | -4/+23 |
| | |||||
* | add doc for message use-sequence-for-iteration (#8233) | Robert Hofer | 2023-02-08 | 3 | -2/+12 |
| | |||||
* | Add docs for 'inconsistent-quotes' (#8222) | Ollie | 2023-02-07 | 4 | -2/+8 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [too-many-public-methods] Add an example for the message (#8214) | Pierre Sassoulas | 2023-02-07 | 5 | -2/+89 |
| | | | | | Refs #5953 Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | ||||
* | Add doc for message unused-format-string-key (#8218) | Robert Hofer | 2023-02-07 | 3 | -2/+3 |
| | |||||
* | Add ``docstring-first-line-empty`` doc example | Daniël van Noord | 2023-02-06 | 4 | -2/+20 |
| | | | | Co-authored-by: Ollie <46904826+ollie-iterators@users.noreply.github.com> | ||||
* | Add ``differing-type-doc`` doc example | Daniël van Noord | 2023-02-06 | 4 | -2/+18 |
| | | | | Co-authored-by: Ollie <46904826+ollie-iterators@users.noreply.github.com> | ||||
* | Add ``differing-param-doc`` doc example | Daniël van Noord | 2023-02-06 | 4 | -2/+18 |
| | | | | Co-authored-by: Ollie <46904826+ollie-iterators@users.noreply.github.com> | ||||
* | Add ``inconsistent-mro`` doc example | Daniël van Noord | 2023-02-06 | 3 | -2/+20 |
| | | | | Co-authored-by: Ollie <46904826+ollie-iterators@users.noreply.github.com> | ||||
* | Add ``bad-mcs-method-argument`` doc example | Daniël van Noord | 2023-02-06 | 3 | -2/+6 |
| | | | | Co-authored-by: Ollie <46904826+ollie-iterators@users.noreply.github.com> | ||||
* | Add ``bad-mcs-classmethod-argument`` doc example | Daniël van Noord | 2023-02-06 | 3 | -2/+8 |
| | | | | Co-authored-by: Ollie <46904826+ollie-iterators@users.noreply.github.com> | ||||
* | Add doc for message missing-final-newline (#8195) | Robert Hofer | 2023-02-06 | 4 | -2/+23 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> |