1
0
mirror of https://github.com/django/django.git synced 2025-07-10 20:59:12 +00:00

9 Commits

Author SHA1 Message Date
Mariusz Felisiak
d3edac6c07 [4.1.x] Bumped versions in pre-commit and npm configurations.
Backport of f825536b5e09b3a047fec0c10aabd91bace0995c from main
2023-01-31 14:00:43 +01:00
Mariusz Felisiak
d3f5782a33 [4.1.x] Fixed warnings per flake8 5.0.0.
Backport of c18861804feb6a97afbeabb51be748dd60a04458 from main
2022-07-31 10:28:17 +02:00
Mariusz Felisiak
d407340e7f
Bumped versions in pre-commit and npm configurations. 2022-03-29 09:18:22 +02:00
Nick Pope
b1005c0e40 Refs #33476 -- Prevented formatting of .py-tpl files with black by pre-commit.
When using `pre-commit run --all-files`, files explicitly passed to
black are processed even if they don't match the `include` configuration
option. For some reason, (only) one of the `*.py-tpl` files is picked up
by pre-commit. We can avoid this by explicitly excluding certain
patterns of files for the black hook in the pre-commit configuration.
2022-03-09 14:51:13 +01:00
Carlton Gibson
ba94488196 Refs #33476 -- Adjusted docs and config files for Black.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-02-07 20:36:04 +01:00
Mariusz Felisiak
409060780c
Bumped versions in pre-commit and npm configurations. 2021-10-12 20:38:36 +02:00
Adam Johnson
14518ccf75
Bumped versions in pre-commit configuration. 2021-07-06 08:19:46 +02:00
David Smith
0f7afd6599
Bumped versions in pre-commit configuration. 2021-04-06 07:32:59 +02:00
David Smith
3bca95cca2 Fixed #32165 -- Added pre-commit hooks
* Added pre-commit hooks for isort, flake8 and eslint
* Added documentation on how to install and use the tool
2020-12-23 11:14:48 +01:00