Commit Graph

11 Commits

Author SHA1 Message Date
Daniël van Noord
9d0b2827ee
Refactor of `FileState.handle_ignored_message()` (#5064)
Remove unnecessary parameters
2021-09-23 08:21:15 +02:00
Daniël van Noord
b56a9f3d86
Add typing to FileState (#5049) 2021-09-20 11:02:03 +02:00
Marc Mueller
21290866a2
Fix copyright links (#4647)
* Fix link in license header
* Update link to astroid bump_changelog
2021-07-01 12:47:58 +02:00
Pierre Sassoulas
af52033971
Rename copying to license and upgrade the setup.cfg (#4338) 2021-04-11 15:29:34 +02:00
Anthony Sottile
a45505143f pyupgrade: automated removal of python2 constructs
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/)
```
2020-03-24 10:27:21 +01:00
Eric Froemling
8271816027 useless-suppression detection now ignores cyclic-import (#3071)
Tweaked useless-suppression detection to ignore cyclic-import since cycles may not be detected until after it fires.
2019-08-22 14:37:03 +02:00
Claudiu Popa
6b0003da63 Fix a bunch of linting errors from the codebase 2019-05-22 09:26:18 +02:00
Pierre Sassoulas
1dbbb35d93 Refactor - Avoid intra-packages circular dependencies for constants
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.
2019-03-29 09:37:05 +01:00
Pierre Sassoulas
5ab140ac3b Style - Apply isort on all apllicable files 2019-03-20 09:07:35 +01:00
Pierre Sassoulas
2b50749867 Refactor - Create a pylint.message package
There is a lot of Message related class in Utils
this warrant the creation of a new package.

See also review for burst utils.py into a package here:
https://github.com/PyCQA/pylint/pull/2654#issuecomment-470748956
2019-03-09 11:09:29 +01:00
Pierre Sassoulas
16e98598c6 Refactor - Create a file for each class in utils 2019-03-09 11:09:29 +01:00