0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Storm B. Heg
1dba117c2a Update pre-commit hooks
Some linters and formatters were updated in 35dfdea, but that did not
include the versions used by pre-commit.
2023-08-05 10:04:07 +10:00
zerolab
adde8b66f6 Drop support for Python 3.7 2023-07-14 13:06:41 +01:00
zerolab
61f0f4d362 Upgrade ruff version (#10556)
Address "Unnecessary list comprehension" issues
2023-06-19 17:49:17 +01:00
Oli
459fbb2cc9 Switch to ruff for flake8 / isort code checking (#10324) 2023-04-21 11:58:27 +01:00
Himanshu Garg
2ae061a703
Add curlylint and update djhtml, semgrep versions in pre-commit config
The djhtml and semgrep versions are now in sync with the ones in setup.py
2023-02-23 11:24:50 +00:00
Sage Abdullah
55fed5c25d Update flake8 pre-commit link to GitHub
They moved: https://www.youtube.com/watch?v=1FIgj9Q5e6A
2023-02-14 15:08:58 +00:00
Loic Teixeira
5c1c2c8f53 Enforce the use of a single string formatting mechanism for translation source strings
Close #9377
2022-11-26 11:00:05 +01:00
Dan Braghis
f1dcf407e3 Bump black to 22.3.0 to fix issue with dependency
Ref: https://github.com/psf/black/issues/2964
2022-03-29 20:04:58 +01:00
Dan Braghis
e4d4b24a5b Add flake8-comprehensions and flake8-assertive to pre-commit 2022-02-22 16:20:15 +10:00
Dan Braghis
6dae6e5d07 Add and configure black
This:
- updates the pre-commit configuration and setup.py testing dependencies
- updates isort/flake8 configuration for black
- adds black linting to Makefile and CircleCI configuration
- updates editorconfig with the new line length (88) for py files
- updates python guidelines in docs
2022-02-15 13:06:17 +00:00
Steve Stein
72886c0a62
Djhtml install and configure with pre-commit (#7940) 2022-02-12 01:04:21 +00:00
Steve Stein
6382945a7b
Add ESlint & Stylelint to pre-commit hooks (#7931). Fix #7909
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-10 16:01:32 +00:00
Thibaud Colas
11ccf30f00
Add Prettier configuration & documentation (#7908)
- Install Prettier
- Add Prettier configuration
- Add git-blame-ignore-revs
- Clean up .editorconfig indent_style definition
- Clean up .editorconfig space definitions
- Add documentation for Prettier
- Add missing Prettier run-scripts
- Disable Prettier formatting in CI for now
2022-02-04 11:45:08 +00:00
Dan Braghis
f478cd54d7 Add pre-commit support 2020-10-16 18:56:39 +01:00