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
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
Marc Mueller
56b8e229d9
Refactor modify sys_path for execution as python module
2021-03-05 19:08:42 +01:00
Louis Sautier
cc8d9185d1
Properly strip dangerous sys.path entries (not just the first one) ( #4153 )
...
51c646bf70
only stripped the first bad
sys.path entry, causing problems when PYTHONPATH starts or ends with a
colon.
Closes: https://github.com/PyCQA/pylint/issues/3636
2021-02-28 17:50:05 +01:00
Pierre Sassoulas
d6129b9cef
Fix E265 block comment should start with '# '
2021-02-15 21:14:28 +01:00
Pierre Sassoulas
cbce442a19
Fix a typo in a JsonReporter docstring
2020-04-26 12:43:49 +02:00
Claudiu Popa
51c646bf70
Do not allow `python -m pylint ...
` to import user code ( #3396 )
...
``python -m pylint ...`` adds the current working directory as the first element
of ``sys.path``. This opens up a potential security hole where ``pylint`` will import
user level code as long as that code resides in modules having the same name as stdlib
or pylint's own modules.
Close #3386
2020-02-11 13:08:01 +01:00
Pierre Sassoulas
2d525d6824
Style - Re-Apply black following the isort cleanup
...
Change with isort triggered change with black.
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
8322781baa
Add the new shorter license header, including to missing files. Close #894 .
2016-06-01 16:25:07 +01:00
Ionel Cristian Maries
26eb7f9a2e
Move all package files to a pylint package.
2015-02-14 18:13:20 +02:00