Commit Graph

64 Commits

Author SHA1 Message Date
Andrew Murray
82c87c4adf
Merge branch 'main' into pre-commit-clang 2024-05-13 12:39:47 +10:00
pre-commit-ci[bot]
b8e3e0a430
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.4...v0.4.3)
- [github.com/psf/black-pre-commit-mirror: 24.3.0 → 24.4.2](https://github.com/psf/black-pre-commit-mirror/compare/24.3.0...24.4.2)
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)
- [github.com/python-jsonschema/check-jsonschema: 0.28.1 → 0.28.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.1...0.28.2)
- [github.com/tox-dev/pyproject-fmt: 1.7.0 → 1.8.0](https://github.com/tox-dev/pyproject-fmt/compare/1.7.0...1.8.0)
2024-05-06 17:25:18 +00:00
Hugo van Kemenade
1b1c825f7b Add ClangFormat to pre-commit 2024-04-25 15:17:25 +03:00
Hugo van Kemenade
7867040486 Check GHA, RTD and Renovate config with pre-commit 2024-04-01 20:55:19 +03:00
Hugo van Kemenade
55b8f9126b Move Ruff's fix=true up from pre-commit to pyproject 2024-04-01 20:49:47 +03:00
pre-commit-ci[bot]
793bb7fb6f
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.3.4)
- [github.com/psf/black-pre-commit-mirror: 24.1.1 → 24.3.0](https://github.com/psf/black-pre-commit-mirror/compare/24.1.1...24.3.0)
- [github.com/PyCQA/bandit: 1.7.7 → 1.7.8](https://github.com/PyCQA/bandit/compare/1.7.7...1.7.8)
- [github.com/Lucas-C/pre-commit-hooks: v1.5.4 → v1.5.5](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.4...v1.5.5)
2024-04-01 17:24:09 +00:00
pre-commit-ci[bot]
e0da2b7120
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.9...v0.2.0)
- [github.com/psf/black-pre-commit-mirror: 23.12.1 → 24.1.1](https://github.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.1)
- [github.com/PyCQA/bandit: 1.7.6 → 1.7.7](https://github.com/PyCQA/bandit/compare/1.7.6...1.7.7)
- [github.com/tox-dev/pyproject-fmt: 1.5.3 → 1.7.0](https://github.com/tox-dev/pyproject-fmt/compare/1.5.3...1.7.0)
- [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](https://github.com/abravalheri/validate-pyproject/compare/v0.15...v0.16)
2024-02-05 17:18:25 +00:00
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