Pierre Sassoulas
ec4a3f7f1e
Add a pre-commit hook to check the copyright notice
...
Fix the existing file so they have a notice.
No header for setup.py or examples or doc
2022-03-24 13:06:15 +01:00
Pierre Sassoulas
9e0baf370a
Simplify hard to maintain copyright notice
...
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.
2022-03-24 13:06:15 +01:00
Daniël van Noord
595ec422d6
Update `pydocstringformatter
` to 0.4.0 ( #5787 )
2022-02-10 19:30:15 +01:00
Daniël van Noord
ee70d41881
Add `end_lineno
and
end_col_offset
to
MessageLocationTuple
` ( #5343 )
2021-11-22 22:40:26 +01:00
Daniël van Noord
1e675abcc2
Type add_message
and add MessageLocationTuple
( #5050 )
...
* Type `add_message` and add `MessageLocationTuple`
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-09-21 13:56:58 +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
35a030ea60
Add typing in pylint.messages
...
Only the one that are not creating circular imports.
See #4530
2021-06-02 13:13:01 +02:00
Pierre Sassoulas
af52033971
Rename copying to license and upgrade the setup.cfg ( #4338 )
2021-04-11 15:29:34 +02:00
David Gilman
1af517b128
Remove Python 3.4 compatibility code from Message
2021-02-16 07:53:15 +01:00
谭九鼎
201daa6f77
Chore: use https links ( #3679 )
2020-06-11 08:25:03 +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
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
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