Commit Graph

15 Commits

Author SHA1 Message Date
Marc Mueller
56b8e229d9 Refactor modify sys_path for execution as python module 2021-03-05 19:08:42 +01:00
Pierre Sassoulas
5728d82826 Add __all__ in __init__.py so all import are used 2020-09-22 22:47:05 +02:00
Claudiu Popa
369d952c7e Add missing copyright annotations for the past releases 2020-04-27 11:04:14 +02: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
Claudiu Popa
1e05190ef0 `import-outside-toplevel is emitted for ImportFrom` nodes as well.
Close #3175
2019-10-09 09:54:52 +02:00
Claudiu Popa
3f28424007 Reformat the code with black 2018-09-17 09:07:42 +02:00
Claudiu Popa
3a8635a9ef Update copyright notices 2018-07-15 11:36:36 +02:00
Nick Drozd
998b2ff420 Don't print stacktrace on keyboard interrupt 2018-01-18 11:59:40 +01:00
Claudiu Popa
9ff44de0ca
Regenerate copyright notices 2017-12-15 12:24:15 +01: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
c70b281c62 Remove pylint-gui
pylint-gui was removed, because it was deemed unfit for being included
in *pylint*. It had a couple of bugs and misfeatures, its usability was subpar
and since its development was neglected, we decided it is best to move on without it.

Part of #975
2016-07-03 22:29:59 +01: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