summaryrefslogtreecommitdiff
path: root/pylint/graph.py
Commit message (Collapse)AuthorAgeFilesLines
* Prepare 2.7.3 release (#4261)pylint-2.7.32.7Pierre Sassoulas2021-03-291-0/+1
|
* Fix various problems with --import-graph filename parsing (#4259)Andrew Howe2021-03-291-15/+27
| | | | | | | | | | | | | | Avoids backwards-incompatible changes. - Raise error if graphvis is not installed (instead of reporting success) - Fix tempfile creation bug when outputfile includes directories - Fix bug when using file extension that isn't 3 characters long - Fix confusing help text - Rename deprecated .dot extension to .gv - Default to .png if no extension is specified * Add typing to modified functions (and ignore mypy thinking codecs.open() returns an int) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Apply copyrite --contribution-thresholdPierre Sassoulas2021-02-211-1/+2
|
* Move from % string formatting syntax to f-string or .format()Pierre Sassoulas2021-02-211-4/+4
|
* Remove the # coding, since PEP3120 the default is UTF8Pierre Sassoulas2021-02-211-1/+0
|
* Sets up copyrighthippo912020-08-201-1/+4
|
* Switch to isort 5 for pylint's own codeDamien Baty2020-08-181-2/+1
|
* Chore: use https links (#3679)谭九鼎2020-06-111-2/+2
|
* Add missing copyright annotations for the past releasesClaudiu Popa2020-04-271-1/+4
|
* Fixed writing graphs to relative paths (#3378)Benjamin Graham2020-02-041-10/+3
| | | | | | | | | | While playing around with the 'import-graph' setting, I noticed that attempting to write a graph to a local directory did not work as I would have expected. For example, 'import-graph=docs/graph.dot' would attempt to add 'graph.dot' to '/LOCAL/PATH/docs/docs/'. This was because the 'dot_sourcepath' in this scenario would be set to the combination of the 'storedir' ('/LOCAL/PATH/docs') and the 'outputfile' ('docs/graph.dot'). I am requesting that it be changed to just be 'outputfile' in this scenario. Also, I have removed the instantiation of the 'dotfile' variable because it now has no use Co-authored-by: Claudiu Popa <pcmanticore@gmail.com>
* New check: import-outside-toplevel (close #3067) (#3079)Nick Drozd2019-09-171-2/+1
|
* Style - Apply isort on all apllicable filesPierre Sassoulas2019-03-201-2/+2
|
* Reformat the code with blackClaudiu Popa2018-09-171-26/+52
|
* Update copyright noticesClaudiu Popa2018-07-151-1/+2
|
* Add new checker useless-object-inheritance.ssolanki2018-06-201-1/+1
| | | | Close #2177
* Regenerate copyright noticesClaudiu Popa2017-12-151-1/+2
|
* Even more granular copyrights (thanks to copyrite)Claudiu Popa2016-07-231-2/+3
|
* Keep a consistent copyright notice across the board.Claudiu Popa2016-07-191-0/+2
| | | | | This was changed automatically in #894, but apparently we need to have the copyright notice somewhere.
* Fixed our docstring lint errorsAshley Whetter2016-06-251-2/+3
|
* Add the new shorter license header, including to missing files. Close #894.Claudiu Popa2016-06-011-16/+3
|
* Fix instances of unneeded-not in pylint's codebase.Claudiu Popa2015-11-251-1/+1
|
* Cleanup pylint issuesClaudiu Popa2015-11-211-4/+1
| | | | | | | | | | | This changeset also brings a couple of changes: * rrheaders and rcheaders are dropped from html_writer.Table's constructor. They weren't used at all and it was dead code. This simplified some if statements. * _is_attribute_property is used to look for a property assignment instead on relying on a different implementation.
* Fix pylint warnings for the code imported from logilab-common.Claudiu Popa2015-08-181-7/+11
|
* Get rid of logilab.common.graph.Florian Bruhin2015-07-261-0/+178
--HG-- branch : no-logilab-common