summaryrefslogtreecommitdiff
path: root/tests/functional/ext/code_style
Commit message (Collapse)AuthorAgeFilesLines
* Add optional `prefer-typing-namedtuple` message (#8681)HEADmainJacob Walls2023-05-163-0/+14
| | | Closes #8660
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-1/+1
|
* Fix `consider-using-augmented-assign` nested attribute access (#8088)Marc Mueller2023-01-202-1/+16
|
* [consider-using-augmented-assign] Do not warn for non-commutative operators ↵Pierre Sassoulas2023-01-092-26/+76
| | | | | | | | | | | (#8037) Or rather, only warn for known commutative operators. Closes #7639 Co-authored-by: Nick Drozd <nicholasdrozd@gmail.com> Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
* Cover more lines (#7996)Nick Drozd2022-12-282-3/+8
|
* Fix `use-sequence-for-iteration` when unpacking a set with `*` (#7975)Dani Alcala2022-12-262-3/+2
|
* Move `consider-using-augmented-assign` to `CodeStyle` extension (#7628)Marc Mueller2022-10-165-0/+108
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Use main instead of master as main checker name (#6569)Daniël van Noord2022-05-104-4/+4
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Revert renaming extension tests (#5473)Marc Mueller2021-12-0512-14/+7
| | | | * Split py_version_35 test
* Update functional test expected output (#5349)Daniël van Noord2021-11-243-31/+31
| | | | | | * Add ``confidence`` to all expected functional test outputs * Make OutputLine accept end_line and end_column Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Move the functional tests for extension in 'tests/functional/ext'Pierre Sassoulas2021-11-2311-0/+17
|
* Spelling and grammar fixesVille Skyttä2021-09-171-1/+1
|
* Add additional test case - consider-using-assignment-expr (#4975)Marc Mueller2021-09-061-1/+12
|
* Add `consider-using-assignment-expr` to `CodeStyleChecker` (#4876)Marc Mueller2021-08-303-0/+172
| | | | | | | | | | | * Add global py-version config * Add typing-extensions as requirement for Python < 3.10 * Add consider-using-assignment-expr to CodeStyleChecker * Default to max-line-length Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Improvements consider-using-tuple (#4838)Marc Mueller2021-08-132-9/+13
| | | | | | * Fix typing * Improve consider-using-tuple check * Limit to in-place defined lists * Emit even for starred expressions
* Fix existing testsMarc Mueller2021-08-132-2/+4
|
* Revert "Extended consider-using-tuple check to cover 'in' comparisons (#4768)"Marc Mueller2021-08-122-40/+4
| | | | This reverts commit ca3bc53fd8d628473fba25c7736d0abfac8e4a4a.
* Extended consider-using-tuple check to cover 'in' comparisons (#4768)Marc Mueller2021-07-292-4/+40
|
* Merge branch 'master' into misc-tasksPierre Sassoulas2021-06-123-0/+81
|\
| * Move consider-using-namedtuple-or-dataclass to CodeStyle extensionMarc Mueller2021-06-123-0/+81
| |
* | Renamed code_style extension testMarc Mueller2021-06-103-0/+0
|/
* Move to new extension CodeStyleCheckerMarc Mueller2021-06-103-0/+35