summaryrefslogtreecommitdiff
path: root/pylint/config/option_parser.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove all old code related to ``optparse`` config parsing. (#8405)Daniël van Noord2023-03-081-56/+0
| | | | | * Remove all old config parsing code * Temporarily disable a test
* [ruff] Disable a Star-arg unpacking in a deprecated functionPierre Sassoulas2023-02-061-1/+1
|
* Use stacklevel=2 in warnings.warn calls to DeprecationWarning where makes ↵Yilei "Dolee" Yang2022-09-151-0/+1
| | | | | | | | sense. (#7465) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Turn on ``check-untyped-defs`` in ``mypy`` (#7407)Daniël van Noord2022-09-091-0/+2
|
* Disable fixme for internal uses before we make it optional in #3512 (#6482)Pierre Sassoulas2022-05-011-1/+1
|
* Deprecate all old classes from ``optparse`` (#6338)Daniël van Noord2022-04-161-0/+6
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Use ``namespace`` in ``PyLinter`` and the functional config tests (#6271)Daniël van Noord2022-04-121-1/+1
| | | | | | | * 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>
* Add a pre-commit hook to check the copyright noticePierre Sassoulas2022-03-241-1/+1
| | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc
* Simplify hard to maintain copyright noticePierre Sassoulas2022-03-241-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.
* Create a framework of functional tests for configuration files (#5287)Pierre Sassoulas2021-11-121-2/+1
| | | | | | | | | | * 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>
* [pre-commit.ci] pre-commit autoupdate (#5082)pre-commit-ci[bot]2021-09-281-1/+1
| | | | | | | | | | | * [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>
* Fix copyright links (#4647)Marc Mueller2021-07-011-1/+1
| | | | * Fix link in license header * Update link to astroid bump_changelog
* Moved stdlib module deprecation from imports checker to stdlib checker (#4454)Matus Valo2021-05-101-1/+1
| | | | | * Moved stdlib module deprecation from imports checker to stdlib checker * Ignore deprecated-module error in pylint/config modules
* Rename copying to license and upgrade the setup.cfg (#4338)Pierre Sassoulas2021-04-111-1/+1
|
* Remove version from the option parserPierre Sassoulas2020-05-101-4/+1
|
* The full version is a constant we can just import itPierre Sassoulas2020-05-101-1/+4
|
* Creating a file for OptionParser and helper functionsPierre Sassoulas2020-05-031-0/+47