Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `bad-dunder-name` extension checker (#7642) | Dani Alcala | 2022-10-31 | 1 | -0/+130 |
| | | | | | With a 'good-dunder-name' option Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix `undefined-loop-variable` with `NoReturn` and `Never` (#7476) | Daniël van Noord | 2022-09-19 | 1 | -0/+13 |
| | | | | Co-authored-by: detachhead <detachhead@users.noreply.github.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | [deleted messages] Refactor the constant to be able to give a reason | Pierre Sassoulas | 2022-06-04 | 1 | -113/+0 |
| | |||||
* | Create constant for default ignore list (#6615) | Andreas Finkler | 2022-05-15 | 1 | -0/+2 |
| | |||||
* | Use main instead of master as main checker name (#6569) | Daniël van Noord | 2022-05-10 | 1 | -2/+2 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Move ``PYLINTHOME`` to constants and test it (#6509) | Daniël van Noord | 2022-05-05 | 1 | -0/+57 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Do not report useless-suppression on duplicate-code | Daniël van Noord | 2022-05-05 | 1 | -0/+1 |
| | |||||
* | Disable fixme for internal uses before we make it optional in #3512 (#6482) | Pierre Sassoulas | 2022-05-01 | 1 | -1/+0 |
| | |||||
* | Remove ``assign-to-new-keyword`` (#6421) | Daniël van Noord | 2022-04-21 | 1 | -0/+2 |
| | |||||
* | Remove the 'no-init' message tat was not emitted anyway | Pierre Sassoulas | 2022-04-18 | 1 | -0/+2 |
| | | | | | | See https://github.com/PyCQA/pylint/issues/2409#issuecomment-1100952171 Closes #2409 | ||||
* | Add classifications to TODOs across codebase | Daniël van Noord | 2022-04-14 | 1 | -1/+1 |
| | |||||
* | Use ``python-typing-update`` on ``pylint`` directory | Daniël van Noord | 2022-04-14 | 1 | -5/+7 |
| | |||||
* | Remove removed messages from the tests (#6268) | Daniël van Noord | 2022-04-12 | 1 | -0/+6 |
| | |||||
* | Require python ``3.7.2+`` (#5921) | Daniël van Noord | 2022-04-11 | 1 | -1/+0 |
| | | | | * Remove env from tox * Add changelog | ||||
* | [refactor] Cleanup of the USER_HOME variable | Pierre Sassoulas | 2022-03-29 | 1 | -0/+2 |
| | | | | We keep it in the pylint.config API to not break downstreazm libraries. | ||||
* | Don't emit broken typing errors inside TYPE_CHECKING blocks (#5984) | Marc Mueller | 2022-03-26 | 1 | -0/+3 |
| | |||||
* | Create a ``TypeVar`` style for ``invalid-name`` (#5894) | Daniël van Noord | 2022-03-24 | 1 | -0/+1 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Add a pre-commit hook to check the copyright notice | Pierre Sassoulas | 2022-03-24 | 1 | -1/+2 |
| | | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc | ||||
* | Simplify hard to maintain copyright notice | Pierre Sassoulas | 2022-03-24 | 1 | -0/+1 |
| | | | | | | git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names. | ||||
* | Prevent `useless-suppression` on disables for stdlib deprecation checker (#5876) | Jacob Walls | 2022-03-11 | 1 | -0/+17 |
| | | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Restore the useful part of the python3 checker (#5843) | Pierre Sassoulas | 2022-03-08 | 1 | -4/+1 |
| | | | | | | | * Reinstate checks from the python3 checker that are still useful for py3 Closes #5025 Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Add a test to check that no old msgid or symbol are used (#5839) | Pierre Sassoulas | 2022-02-26 | 1 | -1/+105 |
| | | | | | | | | | | * Add deleted msgid and symbol from the Python 3K+ checker and other deleted checks. See https://github.com/PyCQA/pylint/pull/4942 Closes #5729 Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Fix remaining typing issues for ``PyLinter`` and related functions (#5663) | Daniël van Noord | 2022-02-08 | 1 | -2/+4 |
| | |||||
* | Improve non ascii checker (#5643) | Kound | 2022-01-10 | 1 | -0/+1 |
| | | | | | | | | | | * split ``non-ascii-name`` into 3 different msgs - non-ascii-identifier (replaces non-ascii-name) - non-ascii-file-name (a warning) - non-ascii-module-import (only considering the namespace the import is imported in) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Move ``HUMAN_READABLE_TYPES`` to ``constants`` (#5642) | Daniël van Noord | 2022-01-06 | 1 | -0/+14 |
| | | | | | Ref #5311 Co-authored-by: Carli* Freudenberg <carli.freudenberg@energymeteo.de> | ||||
* | Primer tests "à la mypy" (#5173) | Pierre Sassoulas | 2021-11-24 | 1 | -0/+1 |
| | | | | | | | | | | | | * Add changelog and warning about unstable API in testutil * Add primer tests, (running pylint on external libs during tests) In order to anticipate crash/fatal messages, false positives are harder to anticipate. Follow-up will be #5359 and later on #5364 Add '__tracebackhide__ = True' so the traceback is manageable Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Create a OLD_DEFAULT_PYLINT_HOME constants | Pierre Sassoulas | 2021-10-26 | 1 | -0/+3 |
| | |||||
* | Create a DEFAULT_PYLINT_HOME constant and upgrade help text | Pierre Sassoulas | 2021-10-26 | 1 | -0/+3 |
| | |||||
* | Use py-version for alternative union syntax check (#5160) | Marc Mueller | 2021-10-15 | 1 | -1/+0 |
| | |||||
* | ``astroid.const.BUILTINS`` use removed for clarity and so astroid can also ↵ | Pierre Sassoulas | 2021-08-19 | 1 | -2/+0 |
| | | | | | | | | | | | | | removes it later (#4868) * Simplify the way builtins is used (remove astroid dependencies) * Replace the constant BUILTINS by the string 'builtins' This make for clearer and also slightly faster code (means time seems to decrease by 0.68% with this change alone (astroid/pylint) in the pylint tests benchmarks). Done because we were using an import from astroid from astroid.bases for one of those, which is kinda messy. | ||||
* | Create a constant for BUILTINS | Pierre Sassoulas | 2021-07-06 | 1 | -1/+2 |
| | |||||
* | Fix copyright links (#4647) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | * Fix link in license header * Update link to astroid bump_changelog | ||||
* | VariableChecker now accounts for attribute lookups in type comments (#4604) | Sergei Lebedev | 2021-06-27 | 1 | -0/+2 |
| | | | | | | | | | | | * VariableChecker now accounts for attribute lookups in type comments Prior to this commit VariableChecker did not recurse into attribute lookups in type comments. This lead to false positive unused-import messages in e.g. import collections d = ... # type: collections.OrderedDict Fixes #4603 | ||||
* | Rename copying to license and upgrade the setup.cfg (#4338) | Pierre Sassoulas | 2021-04-11 | 1 | -1/+1 |
| | |||||
* | Move informations that never change in the setup.py | Pierre Sassoulas | 2021-04-05 | 1 | -2/+2 |
| | |||||
* | Import astroid with import x or from x import y but not both | Pierre Sassoulas | 2021-03-28 | 1 | -3/+3 |
| | | | | Remove unused imports for astroid | ||||
* | Improve handling of assignment expressions | Marc Mueller | 2021-03-26 | 1 | -0/+1 |
| | |||||
* | Migrate from % syntax or bad format() syntax to fstring | Pierre Sassoulas | 2021-02-21 | 1 | -5/+3 |
| | | | | We can do that in python 3.6 | ||||
* | Move from % string formatting syntax to f-string or .format() | Pierre Sassoulas | 2021-02-21 | 1 | -1/+1 |
| | |||||
* | Create a constant for version check and refactor existing one | Pierre Sassoulas | 2021-01-24 | 1 | -0/+4 |
| | |||||
* | Remove unused regular expressions import. | wtracy | 2020-10-03 | 1 | -1/+0 |
| | |||||
* | OPTION_RGX is redefined in pragma_parser.py, and is not used anywhere else. ↵ | wtracy | 2020-10-02 | 1 | -5/+0 |
| | | | | Removing this declaration, as it serves no purpose. | ||||
* | The full version is a constant we can just import it | Pierre Sassoulas | 2020-05-10 | 1 | -0/+12 |
| | |||||
* | pyupgrade: automated removal of python2 constructs | Anthony Sottile | 2020-03-24 | 1 | -2/+0 |
| | | | | | | | | | | | | | using configuration: ```yaml - repo: https://github.com/asottile/pyupgrade rev: v2.1.0 hooks: - id: pyupgrade args: [--py3-plus, --keep-percent-format] exclude: ^tests/(extensions/data/|functional/|input/|regrtest_data/) ``` | ||||
* | Doc - Retrocompatibility with the main checker name | Pierre Sassoulas | 2019-06-20 | 1 | -1/+4 |
| | |||||
* | Refactor - Use a constant for the main checker name | Pierre Sassoulas | 2019-06-20 | 1 | -0/+2 |
| | | | | Following review see : https://github.com/PyCQA/pylint/pull/2844#discussion_r281014968 | ||||
* | Refactor - Avoid intra-packages circular dependencies for constants | Pierre Sassoulas | 2019-03-29 | 1 | -0/+38 |
Some constants were package internal but were used by multiple packages. This created circular dependencies. By creating a file for constants we make sure this does not happen because we won't import everything important in this file and every thing else can depend on it. |