Commit Graph

11 Commits

Author SHA1 Message Date
Daniël van Noord
03cfbf3df1
Use `namespace in PyLinter` and the functional config tests (#6271)
* Use callback actions in ``PyLinter``
* Turn off ``optparse`` command line parsing
* No longer emit ``bad-configuration-section``

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2022-04-12 12:56:42 +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
Pierre Sassoulas
c62738b66b
Create a framework of functional tests for configuration files (#5287)
* Migrate old unittest to the new framework for testing.

* Add a regression test for #4746 : This permits to introduce an example
of configuration file with an error.

* Proper import for pytest import of CaptureFixture

Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2021-11-12 22:19:56 +01:00
pre-commit-ci[bot]
a602692aa1
[pre-commit.ci] pre-commit autoupdate (#5082)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2021-09-28 08:06:32 +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
Matus Valo
8bb83f00b4
Moved stdlib module deprecation from imports checker to stdlib checker (#4454)
* Moved stdlib module deprecation from imports checker to stdlib checker

* Ignore deprecated-module error in pylint/config modules
2021-05-10 09:53:36 +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
8e1845cec3 Remove version from the option parser 2020-05-10 11:02:10 +02:00
Pierre Sassoulas
7831157f47 The full version is a constant we can just import it 2020-05-10 11:02:10 +02:00
Pierre Sassoulas
f9baa0939e Creating a file for OptionParser and helper functions 2020-05-03 14:40:55 +02:00