Commit Graph

64 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
cb7bba41e5
[pre-commit.ci] pre-commit autoupdate (#4998)
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0)
- [github.com/pre-commit/mirrors-prettier: v2.3.2 → v2.4.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.3.2...v2.4.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-09-14 00:53:27 +02:00
pre-commit-ci[bot]
d06728f68d
[pre-commit.ci] pre-commit autoupdate (#4934)
updates:
- [github.com/asottile/pyupgrade: v2.24.0 → v2.25.0](https://github.com/asottile/pyupgrade/compare/v2.24.0...v2.25.0)
- [github.com/psf/black: 21.7b0 → 21.8b0](https://github.com/psf/black/compare/21.7b0...21.8b0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-08-30 22:24:29 +02:00
pre-commit-ci[bot]
e60a1205ee [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.23.3 → v2.24.0](https://github.com/asottile/pyupgrade/compare/v2.23.3...v2.24.0)
2021-08-23 22:00:37 +02:00
Marc Mueller
5150d89c0d
Updated mypy checks (#4889)
* Remove typing ignore for platformdirs

* Use local environment for mypy pre-commit

* Update ci workflow

* Revert "Use local environment for mypy pre-commit"

This reverts commit 2052d0a96946ac086430b87dfd9e29c8c43721f9.

* Revert "Update ci workflow"

This reverts commit a0f8174b29e972b1665655a1e29517e3bd7bc184.

* Add platformdirs as additional dependency
2021-08-21 14:32:45 +02:00
pre-commit-ci[bot]
b8021d33a4 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.23.1 → v2.23.3](https://github.com/asottile/pyupgrade/compare/v2.23.1...v2.23.3)
2021-08-09 21:28:09 +02:00
DudeNr33
57300194ca Extract commonly used test helpers into `conftest.py` and a testutils component. 2021-08-09 20:00:57 +02:00
pre-commit-ci[bot]
9ae559d202 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.23.0 → v2.23.1](https://github.com/asottile/pyupgrade/compare/v2.23.0...v2.23.1)
- [github.com/PyCQA/isort: 5.9.2 → 5.9.3](https://github.com/PyCQA/isort/compare/5.9.2...5.9.3)
2021-08-02 21:43:17 +02:00
pre-commit-ci[bot]
50b9b53d81
[pre-commit.ci] pre-commit autoupdate (#4752)
updates:
- [github.com/asottile/pyupgrade: v2.21.2 → v2.23.0](https://github.com/asottile/pyupgrade/compare/v2.21.2...v2.23.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-26 20:56:01 +02:00
pre-commit-ci[bot]
838a8b2bf5
[pre-commit.ci] pre-commit autoupdate (#4726)
updates:
- [github.com/asottile/pyupgrade: v2.21.0 → v2.21.2](https://github.com/asottile/pyupgrade/compare/v2.21.0...v2.21.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-20 02:56:29 +02:00
dependabot[bot]
702d875d61
Bump black from 21.6b0 to 21.7b0 (#4719)
* Bump black from 21.6b0 to 21.7b0

Bumps [black](https://github.com/psf/black) from 21.6b0 to 21.7b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .pre-commit-config.yaml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-19 19:12:03 +02:00
pre-commit-ci[bot]
bcac33ed77 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.20.0 → v2.21.0](https://github.com/asottile/pyupgrade/compare/v2.20.0...v2.21.0)
2021-07-13 06:15:20 +02:00
dependabot[bot]
a8739234c8
Bump isort from 5.9.1 to 5.9.2 (#4704)
* Bump isort from 5.9.1 to 5.9.2

Bumps [isort](https://github.com/pycqa/isort) from 5.9.1 to 5.9.2.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.9.1...5.9.2)

---
updated-dependencies:
- dependency-name: isort
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .pre-commit-config.yaml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-12 17:10:02 +02:00
pre-commit-ci[bot]
67a319cf62
[pre-commit.ci] pre-commit autoupdate (#4674)
updates:
- [github.com/asottile/pyupgrade: v2.19.4 → v2.20.0](https://github.com/asottile/pyupgrade/compare/v2.19.4...v2.20.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-06 06:17:52 +02:00
DudeNr33
f10fb70e7b
Add `rstcheck` to pre-commit configuration (#4641)
* Added ``rstcheck`` to pre-commit configuration, and fix errors detected by it
2021-06-30 19:45:06 +02:00
pre-commit-ci[bot]
ff57f07e95
[pre-commit.ci] pre-commit autoupdate (#4622)
updates:
- [github.com/pre-commit/mirrors-prettier: v2.3.1 → v2.3.2](https://github.com/pre-commit/mirrors-prettier/compare/v2.3.1...v2.3.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-06-28 20:38:54 +02:00
dependabot[bot]
b57c069dc4
Bump mypy from 0.902 to 0.910 (#4621)
* Bump mypy from 0.902 to 0.910

Bumps [mypy](https://github.com/python/mypy) from 0.902 to 0.910.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.902...v0.910)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update pre-commit-config

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-06-28 17:44:09 +02:00
pre-commit-ci[bot]
cc01ec90f5
[pre-commit.ci] pre-commit autoupdate (#4601)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/PyCQA/isort: 5.8.0 → 5.9.1](https://github.com/PyCQA/isort/compare/5.8.0...5.9.1)

* Update additional mypy pre-commit dependencies
* Fix reverted requirements update
* Update isort dependency

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-06-21 20:58:26 +02:00
pre-commit-ci[bot]
9841051f7c [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.19.1 → v2.19.4](https://github.com/asottile/pyupgrade/compare/v2.19.1...v2.19.4)
2021-06-14 20:25:56 +02:00
Marc Mueller
6bc15de1b0 Update pre-commit-config 2021-06-14 12:51:10 +02:00
dependabot[bot]
10abba18b8
Bump black from 21.5b2 to 21.6b0 (#4572)
* Bump black from 21.5b2 to 21.6b0

Bumps [black](https://github.com/psf/black) from 21.5b2 to 21.6b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update pre-commit-config

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-06-14 10:22:40 +02:00
pre-commit-ci[bot]
78de5c49a6 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-prettier: v2.3.0 → v2.3.1](https://github.com/pre-commit/mirrors-prettier/compare/v2.3.0...v2.3.1)
2021-06-08 08:13:51 +02:00
Marc Mueller
3ca2b2580f
Bump pyupgrade to v2.19.1 (#4547) 2021-06-07 12:43:31 +02:00
pre-commit-ci[bot]
0583acecfb [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.18.2 → v2.19.0](https://github.com/asottile/pyupgrade/compare/v2.18.2...v2.19.0)
- [github.com/psf/black: 21.5b1 → 21.5b2](https://github.com/psf/black/compare/21.5b1...21.5b2)
2021-05-31 20:14:29 +02:00
pre-commit-ci[bot]
ef198dd6f4
[pre-commit.ci] pre-commit autoupdate (#4501)
updates:
- [github.com/asottile/pyupgrade: v2.18.1 → v2.18.2](https://github.com/asottile/pyupgrade/compare/v2.18.1...v2.18.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-05-24 19:59:41 +02:00
dependabot[bot]
62c91eb2f0
Bump pyupgrade from 2.16.0 to 2.18.1 (#4496)
* Bump pyupgrade from 2.16.0 to 2.18.1

Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.16.0 to 2.18.1.
- [Release notes](https://github.com/asottile/pyupgrade/releases)
- [Commits](https://github.com/asottile/pyupgrade/compare/v2.16.0...v2.18.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Update pre-commit-config

* Changes after pyupgrade update

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-05-24 13:31:09 +02:00
pre-commit-ci[bot]
314517aee4
[pre-commit.ci] pre-commit autoupdate (#4481)
updates:
- [github.com/pre-commit/pre-commit-hooks: v3.4.0 → v4.0.1](https://github.com/pre-commit/pre-commit-hooks/compare/v3.4.0...v4.0.1)
- [github.com/asottile/pyupgrade: v2.15.0 → v2.16.0](https://github.com/asottile/pyupgrade/compare/v2.15.0...v2.16.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-05-17 19:56:32 +02:00
pre-commit-ci[bot]
3fc4052278
[pre-commit.ci] pre-commit autoupdate (#4465)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 21.5b0 → 21.5b1](https://github.com/psf/black/compare/21.5b0...21.5b1)
- [github.com/pre-commit/mirrors-prettier: v2.2.1 → v2.3.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.2.1...v2.3.0)

* Update requirements file

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-05-11 00:04:15 +02:00
dependabot[bot]
6b3c49895f
Bump pyupgrade from 2.14.0 to 2.15.0 (#4457)
* Bump pyupgrade from 2.14.0 to 2.15.0

Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/asottile/pyupgrade/releases)
- [Commits](https://github.com/asottile/pyupgrade/compare/v2.14.0...v2.15.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update pre-commit-config

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-05-10 12:32:57 +02:00
dependabot[bot]
ca70201703
Bump black from 21.4b2 to 21.5b0 (#4458)
* Bump black from 21.4b2 to 21.5b0

Bumps [black](https://github.com/psf/black) from 21.4b2 to 21.5b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Update pre-commit-config

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-05-10 12:20:25 +02:00
dependabot[bot]
52a31783ae
Bump flake8 from 3.9.0 to 3.9.2 (#4459)
* Bump flake8 from 3.9.0 to 3.9.2

Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.9.0 to 3.9.2.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.9.0...3.9.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Update pre-commit-config

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-05-10 12:12:37 +02:00
pre-commit-ci[bot]
bf65862795
[pre-commit.ci] pre-commit autoupdate (#4438)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.11.0 → v2.14.0](https://github.com/asottile/pyupgrade/compare/v2.11.0...v2.14.0)
- https://github.com/ambv/blackhttps://github.com/psf/black
- [github.com/psf/black: 21.4b0 → 21.4b2](https://github.com/psf/black/compare/21.4b0...21.4b2)
- https://github.com/Pierre-Sassoulas/black-disable-checker/: 1.0.0 → 1.0.1
- https://gitlab.com/pycqa/flake8https://github.com/PyCQA/flake8
- [github.com/PyCQA/flake8: 3.9.0 → 3.9.1](https://github.com/PyCQA/flake8/compare/3.9.0...3.9.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update pylint/config/find_default_config_files.py

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2021-05-03 20:07:40 +02:00
victor
822b99e126
Add new warning `deprecated-class` #4388 (#4419)
* Add new warning ``deprecated-class``, fix pre-commit ci pipeline.
2021-04-30 13:22:05 +02:00
Marc Mueller
316af5f493 Update black to 21.4b0 2021-04-26 14:39:28 +02:00
Pierre Sassoulas
af52033971
Rename copying to license and upgrade the setup.cfg (#4338) 2021-04-11 15:29:34 +02:00
Pierre Sassoulas
b6ce99bb81 Add prettier to the pre-commit configuration
Also apply prettier
2021-04-07 22:02:01 +02:00
Pierre Sassoulas
6a950c1338 Add setup-cfg-fmt in pre-commit configuration 2021-04-05 15:08:27 +02:00
Pierre Sassoulas
5e5f2427c8 Upgrade pre-commit configuration
The order is important for efficiency.
2021-04-04 10:49:08 +02:00
Pierre Sassoulas
7d5268da6f Upgrade flake8 to 3.9.0 from 3.8.4 2021-03-15 22:09:56 +01:00
Pierre Sassoulas
e86d859b79 Create subdirectory for crowded functional tests 2021-03-07 20:51:46 +01:00
Marc Mueller
04937c3098
Typing changes + disable unused pylint plugin for pre-commit (#4205) 2021-03-07 16:49:57 +01:00
Pierre Sassoulas
1f7b77b7f5 Simplify the 'tox -e pylint' job with pre-commit 2021-03-07 10:39:07 +01:00
Pierre Sassoulas
f8e7b1342b Fix pre-commit pylint command 2021-03-07 10:39:07 +01:00
Pierre Sassoulas
c85d202a23 Remove all fmt off from the codebase 2021-03-06 13:22:08 +01:00
Marc Mueller
90c915c3f8 Add custom fix-documentation pre-commit-hook 2021-03-06 09:08:33 +01:00
Marc Mueller
b10e05b632 Update mypy pre-commit hook 2021-02-28 21:52:27 +01:00
Pierre Sassoulas
a1e553d3bb Add pyupgrade to the pre-commit configuration 2021-02-21 15:36:16 +01:00
Marc Mueller
ad631537bd Add Github Action config
* Add changlog entry
* Includes review changes
2021-02-20 15:08:49 +01:00
Pierre Sassoulas
01ee918094 Add flake8 to the pre-commit configuration 2021-02-15 21:14:28 +01:00
Pierre Sassoulas
dcb0e5749c Autoupdate pre-commit hook in pre-commit configuration 2021-02-15 20:09:05 +01:00
Pierre Sassoulas
c75b8885c1 Add mypy in pre-commit and modify the tox job accordingly 2021-02-07 10:28:18 +01:00