Commit Graph

10 Commits

Author SHA1 Message Date
Daniël van Noord
c4fa0a7b5a Use `python-typing-update on pylint/testutils` directory 2022-04-14 10:13:26 +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
595ec422d6
Update `pydocstringformatter` to 0.4.0 (#5787) 2022-02-10 19:30:15 +01:00
Pierre Sassoulas
c0fbbb7adb
Fix typos accross the whole codebase (#5575)
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2021-12-21 23:44:51 +01:00
Daniël van Noord
ca06014c8d
Add typing to some functions in `testutils` (#5573) 2021-12-21 12:57:44 +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
315db2da8c [refactor] Permit to get the expected exit code in configuration test framework 2021-11-22 13:36:48 +01:00
Pierre Sassoulas
e5082d3f94
Fix user specific path in functional conf tests for tox (#5301)
Detected in https://github.com/PyCQA/pylint/pull/5287#issuecomment-968093640
2021-11-14 09:16:56 +01:00
Pierre Sassoulas
c62738b66b
Create a framework of functional tests for configuration files (#5287)
* Migrate old unittest to the new framework for testing.

* Add a regression test for #4746 : This permits to introduce an example
of configuration file with an error.

* Proper import for pytest import of CaptureFixture

Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2021-11-12 22:19:56 +01:00