0
0
mirror of https://github.com/django/django.git synced 2024-11-25 07:59:34 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
Mariusz Felisiak
6c89a53ab3 Bumped versions in pre-commit and npm configurations. 2024-07-24 08:09:29 +02:00
Baptiste Mispelon
e37f421da8 Matched blacken-docs config between ci and pre-commit. 2024-05-08 08:04:06 +02:00
Mariusz Felisiak
6345a6ff63 Migrated to ESLint 9+. 2024-05-06 11:42:37 +02:00
Mariusz Felisiak
b9d539cca7
Bumped versions in pre-commit and npm configurations. 2024-02-23 07:30:44 +01:00
Mariusz Felisiak
305757aec1
Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
2024-01-26 12:45:07 +01:00
Mariusz Felisiak
9b056aa5af
Bumped versions in pre-commit and npm configurations. 2024-01-05 08:23:31 +01:00
Adam Johnson
d89a465e62
Refs #34140 -- Fixed blacken-docs pre-commit configuration.
Missed in 6015bab80e. The default
blacken-docs hook definition does not apply to .txt files, which the
Django documentation uses. This commit overrides that definition to
point blacken-docs at the appropriate files.
2024-01-04 05:35:46 +01:00
Mariusz Felisiak
7fcf4f2f0f
Bumped versions in pre-commit and npm configurations. 2023-10-23 08:58:30 +02:00
Mariusz Felisiak
ecb6085f6f
Bumped versions in pre-commit and npm configurations. 2023-09-10 10:07:22 +02:00
Mariusz Felisiak
22b0b73c77
Fixed warnings per flake8 6.1.0. 2023-07-30 16:17:07 +02:00
Mariusz Felisiak
5a2e11fd31
Bumped versions in pre-commit and npm configurations. 2023-07-11 08:06:49 +02:00
Mariusz Felisiak
93faad78cc
Bumped versions in pre-commit and npm configurations. 2023-03-29 16:26:53 +02:00
Mariusz Felisiak
6015bab80e Refs #34140 -- Added configurations to run blacken-docs linter and adjusted docs.
This adds:
- GitHub actions,
- tox configuration,
- pre-commit hook, and
- makefile rules
to run blacken-docs linter.

Co-authored-by: David Smith <smithdc@gmail.com>
2023-03-01 13:02:57 +01:00
Sarah Boyce
7e297e52c2
Bumped versions in pre-commit and npm configurations. 2023-02-13 20:51:53 +01:00
David Smith
097e3a70c1 Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.

https://github.com/psf/black/releases/tag/23.1.0
2023-02-01 11:04:38 +01:00
Mariusz Felisiak
3fec3bf90b
Bumped versions in pre-commit and npm configurations. 2022-12-09 10:20:47 +01:00
Mariusz Felisiak
abc5ca6ab4
Bumped versions in pre-commit and npm configurations. 2022-10-07 08:18:04 +02:00
Mariusz Felisiak
b9705a70f5
Bumped versions in pre-commit and npm configurations. 2022-09-01 09:39:12 +02:00
Mariusz Felisiak
c18861804f Fixed warnings per flake8 5.0.0. 2022-07-31 08:16:19 +02:00
Mariusz Felisiak
9cf2564d38
Bumped versions in pre-commit and npm configurations. 2022-06-28 08:53:05 +02:00
Mariusz Felisiak
f825536b5e
Bumped versions in pre-commit and npm configurations. 2022-05-21 14:53:37 +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