Commit Graph

57 Commits

Author SHA1 Message Date
Hugo van Kemenade
866c26957d Add check-shebang-scripts-are-executable to pre-commit 2024-01-29 18:37:24 +02:00
pre-commit-ci[bot]
cb41b0cc78
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.1.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.7...v0.1.9)
- [github.com/psf/black-pre-commit-mirror: 23.12.0 → 23.12.1](https://github.com/psf/black-pre-commit-mirror/compare/23.12.0...23.12.1)
2024-01-01 17:16:45 +00:00
Hugo van Kemenade
6dc7ee0e39 Update pre-commit to fix Sphinx Lint 2023-12-12 19:01:30 +02:00
pre-commit-ci[bot]
bf9709bc48
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.4...v0.1.6)
- [github.com/psf/black-pre-commit-mirror: 23.10.1 → 23.11.0](https://github.com/psf/black-pre-commit-mirror/compare/23.10.1...23.11.0)
- [github.com/sphinx-contrib/sphinx-lint: v0.8.1 → v0.9.0](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.8.1...v0.9.0)
- [github.com/tox-dev/pyproject-fmt: 1.4.1 → 1.5.3](https://github.com/tox-dev/pyproject-fmt/compare/1.4.1...1.5.3)
2023-12-04 17:18:50 +00:00
Hugo van Kemenade
576119ae9d Black and Ruff infer target-version from requires-python in pyproject.toml 2023-11-07 09:29:33 +02:00
pre-commit-ci[bot]
f8c36bfdc9
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black-pre-commit-mirror: 23.9.1 → 23.10.1](https://github.com/psf/black-pre-commit-mirror/compare/23.9.1...23.10.1)
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
- [github.com/sphinx-contrib/sphinx-lint: v0.6.8 → v0.8.1](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6.8...v0.8.1)
- [github.com/tox-dev/pyproject-fmt: 1.2.0 → 1.4.1](https://github.com/tox-dev/pyproject-fmt/compare/1.2.0...1.4.1)
- [github.com/abravalheri/validate-pyproject: v0.14 → v0.15](https://github.com/abravalheri/validate-pyproject/compare/v0.14...v0.15)
2023-11-06 17:18:28 +00:00
Aarni Koskela
de6c4b09d7 Switch linting to ruff
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-06 12:43:14 +02:00
pre-commit-ci[bot]
a4d678fdc1
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/tox-dev/pyproject-fmt: 1.1.0 → 1.2.0](https://github.com/tox-dev/pyproject-fmt/compare/1.1.0...1.2.0)
2023-10-02 20:02:53 +00:00
Hugo van Kemenade
132357ac46 Add check-executables-have-shebangs to pre-commit and remove executable flags 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
1f188f5bb4 Add trailing-whitespace to pre-commit 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
f76b63d016 Add end-of-file-fixer to pre-commit 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
3891e9e228 Add flake8-logging to pre-commit 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
9d104b241e Use black-pre-commit-mirror for faster mypyc-compiled wheels 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
0d1e83098d Add pyupgrade to pre-commit 2023-09-25 16:45:38 +03:00
pre-commit-ci[bot]
47dd20678d
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/Lucas-C/pre-commit-hooks: v1.5.3 → v1.5.4](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.3...v1.5.4)
- [github.com/sphinx-contrib/sphinx-lint: v0.6.7 → v0.6.8](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6.7...v0.6.8)
- [github.com/tox-dev/pyproject-fmt: 0.13.0 → 1.1.0](https://github.com/tox-dev/pyproject-fmt/compare/0.13.0...1.1.0)
- [github.com/abravalheri/validate-pyproject: v0.13 → v0.14](https://github.com/abravalheri/validate-pyproject/compare/v0.13...v0.14)
2023-09-04 19:49:33 +00:00
pre-commit-ci[bot]
24a19e5b37
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.3.0 → 23.7.0](https://github.com/psf/black/compare/23.3.0...23.7.0)
- [github.com/Lucas-C/pre-commit-hooks: v1.5.1 → v1.5.3](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.1...v1.5.3)
- [github.com/PyCQA/flake8: 6.0.0 → 6.1.0](https://github.com/PyCQA/flake8/compare/6.0.0...6.1.0)
- [github.com/tox-dev/pyproject-fmt: 0.12.1 → 0.13.0](https://github.com/tox-dev/pyproject-fmt/compare/0.12.1...0.13.0)
2023-08-07 19:39:13 +00:00
pre-commit-ci[bot]
9e31a677b9
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/yesqa: v1.4.0 → v1.5.0](https://github.com/asottile/yesqa/compare/v1.4.0...v1.5.0)
- [github.com/tox-dev/tox-ini-fmt: 1.3.0 → 1.3.1](https://github.com/tox-dev/tox-ini-fmt/compare/1.3.0...1.3.1)
2023-07-03 19:29:28 +00:00
Andrew Murray
14ae3e446c
Updated pyproject-fmt to 0.12.1
(cherry picked from commit 0e1f86a425)
2023-06-24 15:53:58 +01:00
nulano
c068af7630
Merge remote-tracking branch 'upstream/main' into add-pyproject.toml
# Conflicts:
#	pyproject.toml
2023-06-24 13:30:15 +01:00
Andrew Murray
ea3e4242d8 Removed files and types override 2023-06-02 08:07:05 +10:00
Hugo van Kemenade
454dfcc1b4 Add minimal pyproject.toml 2023-05-27 23:39:48 +03:00
pre-commit-ci[bot]
b7d19e83d0
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/tox-dev/tox-ini-fmt: 1.0.0 → 1.3.0](https://github.com/tox-dev/tox-ini-fmt/compare/1.0.0...1.3.0)
2023-05-01 19:15:29 +00:00
Hugo van Kemenade
f46594ff47 Don't remove tabs from hopper.gd 2023-04-03 23:07:45 +03:00
pre-commit-ci[bot]
5a7e2ad638
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)
- [github.com/PyCQA/bandit: 1.7.4 → 1.7.5](https://github.com/PyCQA/bandit/compare/1.7.4...1.7.5)
- [github.com/Lucas-C/pre-commit-hooks: v1.4.2 → v1.5.1](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.4.2...v1.5.1)
- [github.com/tox-dev/tox-ini-fmt: 0.6.1 → 1.0.0](https://github.com/tox-dev/tox-ini-fmt/compare/0.6.1...1.0.0)
2023-04-03 19:44:19 +00:00
Hugo van Kemenade
596569c928 Drop support for soon-EOL Python 3.7 2023-04-01 15:58:08 +03:00
pre-commit-ci[bot]
cb4eb0d40f
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)
2023-02-06 19:25:53 +00:00
Andrew Murray
446cfddb5d pre-commit autoupdate 2023-01-29 20:05:35 +11:00
pre-commit-ci[bot]
9342f9a0e6
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/isort: 5.11.1 → 5.11.4](https://github.com/PyCQA/isort/compare/5.11.1...5.11.4)
2023-01-02 18:34:37 +00:00
Hugo van Kemenade
2ae55ccbda Improve exception traceback readability 2022-12-30 00:07:52 +02:00
Hugo van Kemenade
d1cb81976c Run Bandit on CI via pre-commit 2022-12-14 21:40:44 +02:00
Hugo van Kemenade
1f9754cdc0 Format tox.ini with tox-ini-fmt 2022-12-13 18:04:30 +02:00
pre-commit-ci[bot]
b786ff819a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
2022-12-05 18:25:01 +00:00
pre-commit-ci[bot]
9448532f91
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0)
- [github.com/sphinx-contrib/sphinx-lint: v0.6.1 → v0.6.7](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6.1...v0.6.7)
2022-11-07 18:03:51 +00:00
Hugo van Kemenade
01657d128d Add label to Dependabot PRs 2022-09-08 20:59:05 +03:00
pre-commit-ci[bot]
b3683c3e4b
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)
- [github.com/asottile/yesqa: v1.3.0 → v1.4.0](https://github.com/asottile/yesqa/compare/v1.3.0...v1.4.0)
- [github.com/Lucas-C/pre-commit-hooks: v1.3.0 → v1.3.1](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.3.0...v1.3.1)
- [github.com/PyCQA/flake8: 5.0.2 → 5.0.4](https://github.com/PyCQA/flake8/compare/5.0.2...5.0.4)
2022-09-05 18:09:19 +00:00
pre-commit-ci[bot]
82974a404c
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/Lucas-C/pre-commit-hooks: v1.2.0 → v1.3.0](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.2.0...v1.3.0)
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.2](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.2)
2022-08-01 18:14:07 +00:00
pre-commit-ci[bot]
431498de0b
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0)
- [github.com/sphinx-contrib/sphinx-lint: v0.6 → v0.6.1](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6...v0.6.1)
2022-07-04 17:57:12 +00:00
pre-commit-ci[bot]
2394ff564c
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/Lucas-C/pre-commit-hooks: v1.1.13 → v1.2.0](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.1.13...v1.2.0)
2022-06-06 17:31:04 +00:00
Andrew Murray
753da81757
Merge pull request #6340 from hugovk/sphinx-lint
Add Sphinx Lint to pre-commit and fix RST bug
2022-05-30 08:54:51 +10:00
Hugo van Kemenade
a5ceb746b0 Add sphinx-lint to pre-commit 2022-05-29 19:10:35 +03:00
Hugo van Kemenade
8aa1a9d291 Autoupdate pre-commit monthly 2022-05-29 13:57:19 +03:00
Andrew Murray
189c9362fc pre-commit autoupdate 2022-04-18 14:40:12 +10:00
Thomas A Caswell
282f1637b2
MNT: update precommit config to account for click 8.1 breaking black 2022-04-01 13:55:03 -04:00
Andrew Murray
72b7ab54bd pre-commit autoupdate --freeze 2022-03-04 16:42:24 +11:00
pre-commit-ci[bot]
3446537c60
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 911470a610e47d9da5ea938b0887c3df62819b85 → f1d4e742c91dd5179d742b0db9293c4472b765f8](911470a610...f1d4e742c9)
- [github.com/PyCQA/isort: fd5ba70665a37ec301a1f714ed09336048b3be63 → c5e8fa75dda5f764d20f66a215d71c21cfa198e1](fd5ba70665...c5e8fa75dd)
- [github.com/asottile/yesqa: 644ede78511c02fc6f8e03e014cc1ddcfbf1e1f5 → 35cf7dc24fa922927caded7a21b2a8cb04bf8e10](644ede7851...35cf7dc24f)
- [github.com/PyCQA/flake8: dcd740bc0ebaf2b3d43e59a0060d157c97de13f3 → cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d](dcd740bc0e...cbeb4c9c41)
- [github.com/pre-commit/pre-commit-hooks: 38b88246ccc552bffaaf54259d064beeee434539 → 8fe62d14e0b4d7d845a7022c5c2c3ae41bdd3f26](38b88246cc...8fe62d14e0)
2022-01-03 17:10:44 +00:00
Hugo van Kemenade
716a0baf74 Drop support for EOL Python 3.6 2021-10-19 15:34:52 +03:00
pre-commit-ci[bot]
448de228d2
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: e3000ace2fd1fcb1c181bb7a8285f1f976bcbdc7 → 911470a610e47d9da5ea938b0887c3df62819b85](e3000ace2f...911470a610)
- https://gitlab.com/pycqa/flake8https://github.com/PyCQA/flake8
2021-10-04 16:54:25 +00:00
Andrew Murray
fc95a0c3c0 Added quarterly autoupdate_schedule 2021-08-12 22:36:41 +10:00
Andrew Murray
98aa0f10ad pre-commit autoupdate --freeze 2021-08-12 21:50:09 +10:00
Jon Dufresne
2f48b036ad Update isort URL: timothycrosley/isort → PyCQA/isort 2020-12-19 15:10:47 -08:00