Commit Graph

26 Commits

Author SHA1 Message Date
Daniël van Noord
7d079d20a5
Remove the `future_option_parsing` keyword (#6253) 2022-04-11 14:49:03 +02:00
Daniël van Noord
d9b74d913e Use `argparse` config handler in all extensions 2022-04-02 13:07:35 +02:00
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
f3ece3f3a9
Add `future=True to all NodeNG.frame` calls (#5621)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2022-01-10 23:06:30 +01:00
Pierre Sassoulas
7d25842515
Add typing and uniformize the checker registering in Pylinter (#5558)
Remove verbose docstring in code, keep them in example and doc

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 21:30:34 +01:00
Pierre Sassoulas
7add5d00ff Bump pylint to 2.11.0, update changelog 2021-09-16 18:19:49 +02:00
Daniël van Noord
baaa81a299
Refactor various typing related issues (#4940)
* Add type annotations to ``visit`` & ``leave`` calls
This adds typing to most calls that visit nodes. All other changes are
due to mypy errors resulting from introduction of typing.

* Fix outstanding mypy issues
This removes some of the `type: ignore` comments in favour of
solving the mypy issues these comments were surpressing.

* Fix remaining references to node_classes
Except for two references to node_classes in the changelog this should be the last of them

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2021-09-03 13:47:23 +02:00
Pierre Sassoulas
ea448b8905 Bump pylint to 2.10.0, update changelog 2021-08-20 22:58:03 +02:00
Nick Drozd
071ce3ccd2 Change some if/assign blocks to if-expressions 2021-08-20 19:27:50 +02:00
Marc Mueller
7ed757e275
Use alias for astroid.nodes 04 (#4869)
* Use alias for astroid nodes 04

* Resolve name conflicts

* Apply suggestions from code review

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2021-08-19 09:01:49 +02:00
Pierre Sassoulas
aa688de05e Bump pylint to 2.9.3, update changelog 2021-07-01 14:54:36 +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
Pierre Sassoulas
13dae7c5c6
Prepare 2.7.3 release (#4261) 2021-03-29 20:59:59 +02:00
Peter Kolbus
f17007b55e Remove 'blacklist' term for good/bad identifiers
Replace blacklist/whitelist terminology in the context of identifier
names. The message identifier 'blacklisted-name' will be addressed in
a future patch; a transition path is needed because this message may
be referenced in pylintrc files or disable comments.
2021-03-09 09:13:05 +01:00
Pierre Sassoulas
ac85223e5b Apply copyrite --contribution-threshold 2021-02-21 16:56:19 +01:00
Pierre Sassoulas
5bed07eba9 Move from % string formatting syntax to f-string or .format() 2021-02-21 15:36:16 +01:00
hippo91
1f7c29c0b6 Sets up copyright 2020-08-20 18:40:19 +02:00
Claudiu Popa
369d952c7e Add missing copyright annotations for the past releases 2020-04-27 11:04:14 +02:00
Hugo van Kemenade
b72c0dd9a3 Remove redundant compatibility code (#3097)
We no longer support Python 2 so we can remove
the compatibility code we had in place for that version.
2019-09-12 06:10:27 -05:00
Pierre Sassoulas
5ab140ac3b Style - Apply isort on all apllicable files 2019-03-20 09:07:35 +01:00
Claudiu Popa
3f28424007 Reformat the code with black 2018-09-17 09:07:42 +02:00
Claudiu Popa
ec09cc7578 Even more granular copyrights (thanks to copyrite) 2016-07-23 00:22:28 +03:00
Claudiu Popa
211d81f84f Keep a consistent copyright notice across the board.
This was changed automatically in #894, but apparently
we need to have the copyright notice somewhere.
2016-07-19 17:42:07 +03:00
Claudiu Popa
0144af3fa3 Move check_bad_builtin extension to bad_builtin. 2016-07-07 14:43:07 +01:00