Commit Graph

16 Commits

Author SHA1 Message Date
Daniël van Noord
acc4f3bf15
Remove the `optparse section from set_config` (#6289)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2022-04-13 12:34:35 +02:00
Daniël van Noord
2c8ec14c3d
Create `_OutputFormatAction` (#6267) 2022-04-11 21:50:07 +02:00
Daniël van Noord
fb8c75159e Move `_parse_rich_type_value to utils` 2022-04-02 12:41:46 +02:00
Daniël van Noord
e3705d334a
Use `argparse config handler in misc.py` (#6122) 2022-04-02 11:27:07 +02:00
Daniël van Noord
93a1e01361
Remove `set_config_directly` (#6123) 2022-04-02 11:17:17 +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
ee60bc1ae9
Add a DeprecationWarning to set_config_directly (#5511) 2021-12-13 13:41:35 +01:00
Daniël van Noord
772b3dcc0b
Fix test decorator for PyLinter options (#5195) 2021-10-22 23:46:36 +02:00
Daniël van Noord
7c06fe8641 Make test decorator use `checker.set_option()`
This makes unittests with options mimick the normal option setting
behaviour. It also adds ``set_config_directly()`` for those cases where
this is not possible.
2021-09-29 14:17:31 +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
Eli Fine
a9bb2ad5e8 obtaining list of comment directives to ignore from pylintrc 2021-04-10 08:36:29 +02:00
Eli Fine
525f24b2f9 skipping spellcheck for tool directives in comments 2021-04-10 08:36:29 +02:00
Pierre Sassoulas
2e21eb481c Burst what remain of utils into files 2020-11-29 11:59:49 +01:00
Pierre Sassoulas
61f2f16b33 Create a file for decorators 2020-11-29 11:59:49 +01:00