Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cope with changes to `AssignAttr` constructor | Jacob Walls | 2023-04-16 | 1 | -1/+8 |
| | |||||
* | Fix `unused-import` to check`dummy-variables-rgx` (#8566) | RSTdefg | 2023-04-12 | 1 | -1/+1 |
| | | | | | Resolve #8500 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 | 24 | -50/+50 |
| | |||||
* | [deprecation] Remove duplicated utils typing guards check (#8475) | Pierre Sassoulas | 2023-03-22 | 1 | -17/+16 |
| | |||||
* | Fix incorrect preferred-modules matches | Daniël van Noord | 2023-03-21 | 1 | -0/+17 |
| | | | | Co-authored-by: d33bs <dave.bunten@cuanschutz.edu> | ||||
* | [ruff] Add RUF specific rules and autofix (#8449) | Pierre Sassoulas | 2023-03-14 | 1 | -3/+4 |
| | |||||
* | Deprecate redundant type checking guard utils (#8433) | Jacob Walls | 2023-03-12 | 1 | -0/+1 |
| | |||||
* | Fix a crash when `TYPE_CHECKING` is used without importing it (#8435) | Jacob Walls | 2023-03-11 | 1 | -0/+10 |
| | |||||
* | Remove deprecated functions and classes (#8409) | Daniël van Noord | 2023-03-09 | 1 | -25/+0 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [deprecation] Remove ``get_message_definitions`` from ``BaseChecker`` (#8401) | Pierre Sassoulas | 2023-03-08 | 1 | -11/+0 |
| | |||||
* | [spelling] Ignore spelling in type/mypy type ignore comments (#8370) | Pierre Sassoulas | 2023-03-02 | 1 | -18/+21 |
| | | | | | | | enchant does not understand class name well enough so it creates false positives, and mypy type ignore comments with additional text are a syntax error anyway, so raising a spelling mistakes for it is not really important. | ||||
* | [spelling checker] Better help message and code organization (#8338) | Pierre Sassoulas | 2023-02-27 | 1 | -0/+15 |
| | | | | Following a failed attempt to add functional tests for spelling checker in #6137 | ||||
* | [test] Use an empty pylintrc so tests to not depend on system's conf (#8350) | Pierre Sassoulas | 2023-02-26 | 1 | -2/+3 |
| | | | | | | | | | | | | | * [test] Use an empty pylintrc so tests to not depend on system's conf Closes #8342 * Update tests/checkers/unittest_imports.py Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> --------- Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | [test] Permits to debug more easily 'test_allow_reexport_package' (#8347) | Pierre Sassoulas | 2023-02-26 | 1 | -1/+1 |
| | | | Refs #8342 | ||||
* | Fixing some too long lines (#8339) | Ollie | 2023-02-25 | 1 | -4/+6 |
| | | | | | * Changing flake8 max-line-length to 120 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add import-based submodule detection for preferred-modules (#8186) | Dave Bunten | 2023-02-08 | 1 | -1/+55 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [ruff] Fix E741 Ambiguous variable name: 'l' | Pierre Sassoulas | 2023-02-06 | 1 | -1/+1 |
| | |||||
* | Tighten design constraints (#8115) | Nick Drozd | 2023-01-28 | 2 | -0/+2 |
| | | | | | | | | | | | | | * Lower max locals * Lower max statements * Lower max try statements * Lower max branches * Lower max args * Cut design constraints with default values | ||||
* | Add `--allow-reexport-from-package` option (#8124) | Marc Mueller | 2023-01-28 | 1 | -0/+43 |
| | |||||
* | add test for get msg def | clavedeluna | 2023-01-25 | 1 | -0/+10 |
| | |||||
* | add test for Uninferable | clavedeluna | 2023-01-24 | 1 | -0/+14 |
| | |||||
* | Add test for existing preferred-modules functionality (#8093) | Dave Bunten | 2023-01-24 | 1 | -0/+23 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | [style] Limit line length and complexity using flake8 (#8064) | Pierre Sassoulas | 2023-01-16 | 1 | -34/+19 |
| | | | 125 is a good start. The check was activated in pylint with value = 100, but flake8 is less lenient than pylint and does not make any exceptions (for docstrings, strings and comments in particular). | ||||
* | [pre-commit] Upgrade to black 23.1a1 with 2023's formatting (#7965) | Pierre Sassoulas | 2022-12-27 | 4 | -7/+1 |
| | |||||
* | Fix end_col_offset deprecation msg (#7823) | Dani Alcala | 2022-11-22 | 1 | -1/+1 |
| | |||||
* | Fix ``deprecated-method`` false positive with aliases (#7795) | Dani Alcala | 2022-11-19 | 1 | -5/+21 |
| | | | | | When alias for method is similar to name of deprecated method. Closes #5886 | ||||
* | Fix a false negative for ``unused-import`` (#7678) | Mark Byrne | 2022-11-09 | 1 | -6/+6 |
| | | | | | | | | | | | * Fix a false negative for ``unused-import`` when a constant inside ``typing.Annotated`` was treated as a reference to an import. * Update with Daniël's suggestions: - More understandable function parameter name. - Update function parameter type: Expect a tuple of strings. Closes #7547 | ||||
* | Finish unfinished typing in non core directories (#7443) | Daniël van Noord | 2022-09-09 | 4 | -8/+8 |
| | | | | | | | | * Add typing to setup calls in documentation folder * Finish some incomplete typing signatures in script * Add typing to unfinished signatures in the tests directory | ||||
* | Finish some incomplete typing signatures (#7442) | Daniël van Noord | 2022-09-09 | 2 | -9/+13 |
| | |||||
* | Add typing to several test files (#7440) | Daniël van Noord | 2022-09-09 | 4 | -8/+12 |
| | |||||
* | Fix #3299 false positives with names in string literal type annotations (#7400) | Levi Gruspe | 2022-09-04 | 1 | -0/+26 |
| | | | | | Don't emit 'unused-variable' or 'unused-import' on names in string literal type annotations (#3299) Don't treat strings inside typing.Literal as names | ||||
* | Complete typing of all generic types (#7406) | Daniël van Noord | 2022-09-04 | 1 | -6/+9 |
| | | | | And update ``mypy`` configuration | ||||
* | Revert "Fix the failure to lint modules contained under an identically named ↵ | Jacob Walls | 2022-08-13 | 1 | -2/+1 |
| | | | | | | | | | directory" (#7304) This reverts commit 3ebb700aed88a427011c2e88705f66ec0b3830a4. * Add regression test for namespace packages under directory on path * Fix expected result in `test_relative_beyond_top_level_two` | ||||
* | Clean up beyond_top_level tests (#7279) | Daniël van Noord | 2022-08-12 | 1 | -26/+41 |
| | |||||
* | Add xfail for `test_relative_beyond_top_level_two` | Jacob Walls | 2022-08-03 | 1 | -0/+4 |
| | | | | It uses epylint to run these tests, but since epylint manipulates cwd, that confounds what is under test | ||||
* | [typing] Add typing to the tests directory (#7183) | Pierre Sassoulas | 2022-07-14 | 8 | -41/+38 |
| | |||||
* | Remove never run test (#6520) | Daniël van Noord | 2022-05-06 | 1 | -10/+0 |
| | |||||
* | spellcheck will skip the rule names of mypy inline directives (#5929) | Eli Fine | 2022-05-06 | 1 | -1/+19 |
| | | | | Co-authored-by: Eli Fine <eli.fine@resilience.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Change default values of ``ignore-imports`` and ``ignore-signatures`` (#6500) | Daniël van Noord | 2022-05-05 | 1 | -0/+2 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix AstCallbackMethod typing (#6445) | Marc Mueller | 2022-05-05 | 1 | -2/+3 |
| | |||||
* | Remove some words from custom dictionary and update spelling | Daniël van Noord | 2022-04-26 | 1 | -1/+1 |
| | |||||
* | [spelling] Remove remaining typoes detected by the spelling checker | Pierre Sassoulas | 2022-04-26 | 1 | -1/+1 |
| | |||||
* | Use an empty pylintrc for tests using project's pylintrc implicitely | Pierre Sassoulas | 2022-04-26 | 1 | -2/+6 |
| | | | | | | | | | | We don't want to use the project's pylintrc during tests, because it means that a change in our config could break tests. But we want to see if the changes to the default break tests. Create a private '_Run' class in pylint.testutil._run Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Add two assertions for reporter | Daniël van Noord | 2022-04-21 | 1 | -0/+2 |
| | |||||
* | Remove ``IAstroidChecker`` from ``__implements__`` | Daniël van Noord | 2022-04-19 | 1 | -2/+1 |
| | |||||
* | Deprecate ``MapReduceMixin`` and implements its methods in ``BaseChecker`` ↵ | Daniël van Noord | 2022-04-19 | 1 | -1/+1 |
| | | | | | | (#6383) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Improve the ``__gt__`` method of Checkers (#6355) | Daniël van Noord | 2022-04-16 | 1 | -3/+31 |
| | |||||
* | Deprecate ``check_messages`` in favor of ``only_required_for_messages`` (#6196) | Andreas Finkler | 2022-04-16 | 1 | -0/+15 |
| | | | | | | * Add TypeVars for ``BaseChecker`` subclasses and AST callbacks Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Deprecate ``get_global_option`` | Daniël van Noord | 2022-04-15 | 1 | -3/+2 |
| | |||||
* | Use ``python-typing-update`` on second half of the ``tests`` directory | Daniël van Noord | 2022-04-14 | 8 | -34/+41 |
| |