Ben Boeckel
8b063c39cb
atomicwrites: remove dependency on abandoned library
2025-02-13 13:37:06 +01:00
Hugo Osvaldo Barrera
055ed120dd
Pre-commit autoupdate
2024-02-20 15:08:51 +01:00
Hugo Osvaldo Barrera
42c5dba208
Pre-commit autoupdate
2024-01-31 19:08:25 +01:00
Hugo Osvaldo Barrera
dcd3b7a359
pre-commit autoupdate
2023-09-24 12:35:40 +02:00
Hugo Osvaldo Barrera
df8c4a1cf5
pre-commit: fix ruff hook being a no-op
2023-09-24 12:35:16 +02:00
pre-commit-ci[bot]
700586d959
[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/pre-commit/mirrors-mypy: v1.0.1 → v1.2.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.0.1...v1.2.0 )
- [github.com/charliermarsh/ruff-pre-commit: v0.0.249 → v0.0.265](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.249...v0.0.265 )
2023-05-09 11:52:48 +02:00
pre-commit-ci[bot]
3bf9a3d684
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v1.0.0 → v1.0.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.0.0...v1.0.1 )
- [github.com/charliermarsh/ruff-pre-commit: v0.0.246 → v0.0.249](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.246...v0.0.249 )
2023-02-21 10:57:28 +01:00
pre-commit-ci[bot]
13ca008380
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.991 → v1.0.0](https://github.com/pre-commit/mirrors-mypy/compare/v0.991...v1.0.0 )
- [github.com/charliermarsh/ruff-pre-commit: v0.0.243 → v0.0.246](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.243...v0.0.246 )
2023-02-14 10:09:36 +01:00
pre-commit-ci[bot]
e20a65793e
[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 )
- [github.com/charliermarsh/ruff-pre-commit: v0.0.238 → v0.0.243](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.238...v0.0.243 )
2023-02-07 12:21:17 +01:00
pre-commit-ci[bot]
df14865f43
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0 )
- [github.com/charliermarsh/ruff-pre-commit: v0.0.237 → v0.0.238](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.237...v0.0.238 )
2023-01-31 10:09:31 +01:00
Hugo Osvaldo Barrera
73f2554932
Check typos via pre-commit
...
So this runs more often (and also in CI).
2023-01-31 01:11:04 +01:00
Hugo Osvaldo Barrera
d646357cd3
Use ruff for code checking and linting
...
`isort` is failing in pre-commit.ci right now, so this might be good
timing.
See: https://whynothugo.nl/journal/2023/01/20/notes-on-ruff/
2023-01-31 00:19:14 +01:00
pre-commit-ci[bot]
90b6ce1d04
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.2.2 → v3.3.0](https://github.com/asottile/pyupgrade/compare/v3.2.2...v3.3.0 )
2022-12-09 12:01:43 +01:00
Hugo Osvaldo Barrera
6506c86f58
Remove obsolete config value
...
This was used by flake8-import-order
2022-12-03 16:25:08 +01:00
pre-commit-ci[bot]
51b409017d
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [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 )
- [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/mirrors-mypy: v0.990 → v0.991](https://github.com/pre-commit/mirrors-mypy/compare/v0.990...v0.991 )
2022-12-03 16:25:08 +01:00
pre-commit-ci[bot]
3067b32de5
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.6.0 → 22.10.0](https://github.com/psf/black/compare/22.6.0...22.10.0 )
- [github.com/asottile/pyupgrade: v2.37.3 → v3.2.2](https://github.com/asottile/pyupgrade/compare/v2.37.3...v3.2.2 )
- [github.com/pre-commit/mirrors-mypy: v0.971 → v0.990](https://github.com/pre-commit/mirrors-mypy/compare/v0.971...v0.990 )
2022-11-19 15:17:11 +01:00
pre-commit-ci[bot]
278e6de8b0
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.4](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.4 )
- [github.com/asottile/pyupgrade: v2.34.0 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.3 )
- [github.com/pre-commit/mirrors-mypy: v0.961 → v0.971](https://github.com/pre-commit/mirrors-mypy/compare/v0.961...v0.971 )
2022-08-09 21:11:42 +02:00
pre-commit-ci[bot]
a88389c4f1
[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 )
2022-07-04 22:14:46 +00:00
pre-commit-ci[bot]
f103b10b2a
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [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/asottile/pyupgrade: v2.32.1 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.34.0 )
- [github.com/pre-commit/mirrors-mypy: v0.960 → v0.961](https://github.com/pre-commit/mirrors-mypy/compare/v0.960...v0.961 )
2022-06-14 09:54:00 +02:00
pre-commit-ci[bot]
f32e0a9c1f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.950 → v0.960](https://github.com/pre-commit/mirrors-mypy/compare/v0.950...v0.960 )
2022-05-30 20:43:36 +00:00
pre-commit-ci[bot]
4df54b9231
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.32.0 → v2.32.1](https://github.com/asottile/pyupgrade/compare/v2.32.0...v2.32.1 )
2022-05-09 20:38:13 +00:00
pre-commit-ci[bot]
9fdc93c140
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.942 → v0.950](https://github.com/pre-commit/mirrors-mypy/compare/v0.942...v0.950 )
2022-05-02 20:29:45 +00:00
pre-commit-ci[bot]
0a4114ef9f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.2.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0 )
- [github.com/asottile/pyupgrade: v2.31.1 → v2.32.0](https://github.com/asottile/pyupgrade/compare/v2.31.1...v2.32.0 )
2022-04-11 21:09:08 +00:00
pre-commit-ci[bot]
61f3785e6c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.1.0 → 22.3.0](https://github.com/psf/black/compare/22.1.0...22.3.0 )
2022-04-04 20:08:40 +00:00
pre-commit-ci[bot]
74d738ec80
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.941 → v0.942](https://github.com/pre-commit/mirrors-mypy/compare/v0.941...v0.942 )
2022-03-28 19:22:10 +00:00
pre-commit-ci[bot]
22a127191d
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.12b0 → 22.1.0](https://github.com/psf/black/compare/21.12b0...22.1.0 )
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1 )
- [github.com/pre-commit/mirrors-mypy: v0.931 → v0.941](https://github.com/pre-commit/mirrors-mypy/compare/v0.931...v0.941 )
2022-03-21 22:41:09 +00:00
pre-commit-ci[bot]
9f0390ee21
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.930 → v0.931](https://github.com/pre-commit/mirrors-mypy/compare/v0.930...v0.931 )
2022-01-10 20:32:13 +00:00
pre-commit-ci[bot]
a7e984f013
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.29.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.31.0 )
2022-01-03 20:09:57 +00:00
pre-commit-ci[bot]
7e9132b817
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0 )
- [github.com/pre-commit/mirrors-mypy: v0.910-1 → v0.930](https://github.com/pre-commit/mirrors-mypy/compare/v0.910-1...v0.930 )
2021-12-27 20:15:19 +00:00
pre-commit-ci[bot]
ad7bb82f40
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.9b0 → 21.12b0](https://github.com/psf/black/compare/21.9b0...21.12b0 )
- [github.com/pycqa/isort: 5.9.3 → 5.10.1](https://github.com/pycqa/isort/compare/5.9.3...5.10.1 )
- [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1 )
2021-12-06 20:13:26 +00:00
pre-commit-ci[bot]
cbb0cad827
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1 )
- [github.com/pre-commit/mirrors-mypy: v0.910 → v0.910-1](https://github.com/pre-commit/mirrors-mypy/compare/v0.910...v0.910-1 )
2021-10-11 19:00:13 +00:00
pre-commit-ci[bot]
02ee9f96e4
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.28.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v2.28.0...v2.29.0 )
2021-10-04 19:00:20 +00:00
pre-commit-ci[bot]
7d61cd3e2e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0 )
2021-09-27 18:56:47 +00:00
pre-commit-ci[bot]
bf95bf2941
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.8b0 → 21.9b0](https://github.com/psf/black/compare/21.8b0...21.9b0 )
2021-09-20 19:07:52 +00:00
pre-commit-ci[bot]
acf29cf659
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0 )
2021-09-13 18:56:33 +00:00
pre-commit-ci[bot]
7605416054
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.7b0 → 21.8b0](https://github.com/psf/black/compare/21.7b0...21.8b0 )
- [github.com/asottile/pyupgrade: v2.24.0 → v2.25.0](https://github.com/asottile/pyupgrade/compare/v2.24.0...v2.25.0 )
2021-08-30 18:41:20 +00:00
pre-commit-ci[bot]
d6876c6bad
[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 18:16:49 +00:00
Hugo Osvaldo Barrera
48aa4912a2
Add pyupgrade as a pre-commit hook
2021-08-04 19:58:31 +02:00
Hugo Osvaldo Barrera
f3714fc493
Add type hints and configure mypy
...
Configure mypy as a pre-commit hook and add all type hints necessary for
mypy to pass.
There's still more work to be done here typing a lot more code, but this
provides a clear starting point.
2021-08-03 19:23:37 +02:00
pre-commit-ci[bot]
bc5e03630e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [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 18:06:08 +00:00
pre-commit-ci[bot]
21eccfc2ef
[pre-commit.ci] pre-commit autoupdate
...
updates:
- https://gitlab.com/pycqa/flake8 → https://github.com/PyCQA/flake8
- [github.com/psf/black: 21.6b0 → 21.7b0](https://github.com/psf/black/compare/21.6b0...21.7b0 )
- [github.com/pycqa/isort: 5.8.0 → 5.9.2](https://github.com/pycqa/isort/compare/5.8.0...5.9.2 )
2021-07-26 17:54:50 +00:00
Hugo Osvaldo Barrera
0556e53e0c
Use isort to reorder python imports
...
reorder-python-imports is hard to set up correctly.
isort is a lot simpler to set to set up it locally, and is kinda
becoming the standard in the python world.
The import style remains the same, and is tweaked to minimise conflicts.
2021-07-25 18:35:04 +02:00
Hugo Osvaldo Barrera
e467809bb0
Update pre-commit hooks
2021-06-12 13:08:04 +02:00
Hugo Osvaldo Barrera
d2d41e5df1
Use black to auto-format the codebase
2021-05-06 19:28:54 +02:00
Hugo Osvaldo Barrera
75719ecc66
Update pre-commit hooks
2021-05-06 19:26:30 +02:00
Hugo Osvaldo Barrera
a68121e439
Update pre-commit hooks
2021-04-18 16:00:39 +02:00
Hugo Osvaldo Barrera
ef34d77ab1
Use Sourcehut for CI
2021-04-06 19:52:57 +02:00
Hugo Osvaldo Barrera
b1b4dd92fe
Sort imports
...
I don't want to ever have to sort imports again. It's a poor use of
developer time. Automate this with a pre-commit hook, and check this on
CI.
Developers: I suggest you configure your editor to use
`reorder_python_imports`. It uses the standard sorting, and detects
first/third party libs well.
2020-06-09 14:34:45 +02:00
Hugo Osvaldo Barrera
6e59ee0b5f
Add a pre-commit hook to rebuild travis config
2020-06-09 12:37:53 +02:00
Hugo Osvaldo Barrera
f1f51ac3cf
Don't fix EOF in travis.yml
...
Since this is auto-generated, it... conflicts in complicated ways. 😞
2020-06-09 09:46:27 +02:00