Commit Graph

5 Commits

Author SHA1 Message Date
Daniël van Noord
595ec422d6
Update `pydocstringformatter` to 0.4.0 (#5787) 2022-02-10 19:30:15 +01:00
Daniël van Noord
9989444cbf
Fix remaining typing issues for `PyLinter` and related functions (#5663) 2022-02-08 22:00:35 +01:00
Pierre Sassoulas
cdb57a8bfe
Ignore files with name that starts like an emacs lock files (#5554)
* Fix 'path' shadowing variable from outer scope

* Ignore file that starts like emacs's file lock

Closes #367

Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2021-12-20 10:23:43 +01:00
Pierre Sassoulas
c6fcd01f26
Create and use a function for module stats initialization (#5271)
This permit to reduce the coupling between Pylinter and linterstats.
Also add two missing litteral in typing for module stats and independant
typing for ModuleStats attribute

Refactor prior to #4720
2021-11-08 09:06:51 +01:00
Daniël van Noord
16c09cb48a
Refactor `LinterStats` (#5074)
* Refactor ``self.stats`` on linter and checker
This adds a new class ``LinterStats`` which is used to store all
kinds of stats during a run of ``pylint``. Tests have been changed
slightly to be able to use the new class.

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-10-07 09:40:31 +02:00