| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Use ``dill-pylint`` (our own version of dill) because dill's 0.3.6 release is taking forever.
Closes #5920
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
|
|
|
|
|
| |
- Install `requirements_test.txt` into `formatting` & `pylint` environments.
`import-error` was showing during the `pylint` run for `contributors-txt` & `colorama` in these two environments.
- Bump `minversion` to match the version in `requirements_test.txt`.
- Bump `pre-commit` dependency version in the `mypy` environment to match the version in `requirements_test.txt`.
|
| |
|
|
|
|
| |
Closes #7188
|
|
|
|
| |
* Remove env from tox
* Add changelog
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update pre-commit requirement from ~=2.12 to ~=2.13
Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.12.0...v2.13.0)
Signed-off-by: dependabot[bot] <support@github.com>
* Update tox.ini
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Doc creation failed because the necessary dependencies where not
installed.
|
|
|
|
|
|
| |
Change tox to run formatting instead of pylint by default, to get
flake8, mypy, and other checks. Formatting runs first because some of
the pre-commit hooks may modify files.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* Variable annotation (PEP 526) requires Python 3.6
|
| |
|
|\ |
|
| |
| |
| |
| | |
Will prevent change in one of the script to affect the other one
|
| |
| |
| |
| | |
See https://ci.appveyor.com/project/PCManticore/pylint/builds/36810764/job/yifu7v0ky6ea2so4
|
|/ |
|
|
|
|
|
|
| |
* Use https gitub uri so we do not need creditials
* Shallow clone so we don't pull more data than we need
* Ensure we skip external profiling unless explicitly wanted
|
|
|
|
|
|
|
| |
With this change PR submitters can see what needs
to be changed instead of just knowing that
black needs to be run on the code. I think this
is a good kind of feedback
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
isort is already a dependency of pylint, there is no need to mention
it explicitly. Except for the "formatting" environment where we want
to pin a specific version to avoid noise when a new version of
isort is released that reports errors.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The API of isort 5 (released on 2020-07-04) is completely different.
We must still support isort 4 because isort 5 dropped the
compatibility with Python 3.5, which pylint still supports.
Note about the `known-standard-library` option: it has been included
in pylint for years. Until now, it was mapped with the option of the
same name in isort. However, isort 5 has changed the meaning of this
option (see https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/#known_standard_library).
Most users of pylint want the meaning of the new
`extra-standard-library` option. To avoid a breaking change in pylint,
the `known-standard-library` pylint option is now mapped to
`known-standard-library` in isort 4, and `extra-standard-library` in
isort 5. Users that really want the _new_ meaning of
`known-standard-library` in isort 4 must disable the
`wrong-import-order` check in pylint and run isort manually, outside
of pylint.
Fix #3722.
|
|
|
|
| |
Not necessary anymore as we fixed all the problem or disabled them.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* benchmark| Add benchmarking option to tox
* benchmark| Adds basic performance benchmark baselines for pylint
Here we establish baseline benchmarks for the system when used in
minimal way.
Here we just confirm that -j1 vs -jN gives some boost in performance under
simple situations, establishing a baseline for other benchmarks.
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
| |
Also move unittest_lint in test/lint.
|
|
|
|
|
| |
We can use `tox -epy38 -- --profile-svg` to enable this functionality
now that we have the pytest-profile dependency.
|
| |
|
|
|
|
|
|
|
|
|
| |
The change required would be huge, so we created a configuration
file for tests so we can enable rule progressively.
We can't add an __init__.py in test to make the command easier to launch
because there would be too much imports to modify. So we hard coded the
files and directory to lint until https://github.com/PyCQA/pylint/issues/352
is fixed.
|
|
|
|
| |
Also apply the formatting.
|
|
|
|
| |
Also apply the formatting.
|
| |
|
|
|
|
| |
As this was breaking on Fedora, use the coverage module invocation
instead of calling the site-package directly.
|
| |
|
| |
|