Wykres commitów

21 Commity (a33563b685eddd1fe6c8ff70120192dfc8e717f0)

Autor SHA1 Wiadomość Data
Steve Stein 6343a9558c
Implement new reusable dialog component with a11y-dialog (#8541)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-20 15:02:32 +01:00
Hitansh Shah a8106e5072 Added lint-server, lint-client, format-server and format-client tasks to the Makefile (#8177) 2022-03-30 14:14:30 +01:00
Thibaud Colas fc0f76ea9d Switch from jinjalint to curlylint 2022-03-11 15:21:47 +00:00
LB (Ben Johnston) 861a509b32
add `make format` to cover most auto-fixable formatting (#8022) 2022-02-24 17:20:35 +00:00
Matt Westcott 6b8126d5a3
Fix jinjalint exclusion in 'make lint' (#8009) 2022-02-18 11:37:18 +00: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
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
Jaap Roes 5808a49407 Update Makefile (#7067)
* List all tasks in .PHONY
* Describe develop task in help output
* Remove undocumented test-all task, it just executes tox which isn't one of the testing requirements
* Fix coverage task
* Running tests is not quick
2021-06-18 13:19:41 +01:00
Matt Westcott 878f2784cb Add config section for doc8 in setup.cfg and ignore _build dir 2020-10-21 12:39:32 +01:00
Matt Westcott 9947b955da Lint config fixes (#6473)
Ref #6463, #6428

* pin isort to 5.6.4
* update isort version mentioned in python_guidelines.rst
* make lint commands consistent between make lint and circleci
* fix isort errors on files outside of /wagtail
* speed up isort by ignoring additional directories and filetypes
2020-10-19 21:33:10 +01:00
Karl Hobley f2dfff8061 Flake8 all other Python files 2020-10-05 14:27:50 +01:00
Thibaud Colas d03642dd38 Configure jinjalint to enforce errors, while filtering-out false positives 2019-05-10 14:37:11 +01:00
Thibaud Colas a51631c306 Add jinjalint linter for Django templates, allowing errors for now 2019-04-29 13:55:41 +01:00
Matt Westcott 3134ffa119 Recommend `npm install --no-save` when setting up node toolchain (#5161)
Running `npm install` without `--no-save` can introduce spurious changes to package-lock.json due to differences in platform / node version, and these have been known to accidentally sneak into people's PRs. `npm install` without `--no-save` should only be used when actively updating node dependencies in package.json.
2019-03-21 20:41:14 +00:00
Anselm Bradford a900965fba Fixes #3516 - replaces scss-lint with stylelint 2017-08-26 16:39:45 +03:00
Matt Westcott e2b5dc384f Run css/js linting as part of make lint 2017-08-11 17:21:00 +01:00
Matt Westcott f2ec21b947 Run isort as part of 'make lint' 2016-06-23 16:31:44 +01:00
Michael van Tellingen d5bdad1d15 Implement `make develop` to ease contributing to wagtail (#2709)
This installs wagtail as editable package in your current python env
including testing and docs extras. It also installs runs npm install
and generates the frontend files.
2016-06-14 10:39:45 +01:00
Matt Westcott a77977a31c add a general test runner for wagtail, accessible by running './runtests.py' or 'make test' from the wagtail repo, or 'manage.py test wagtail' from a django project such as wagtaildemo 2014-02-13 12:44:49 +00:00
Paul Hallett 3c85d8ba97 Makefile, flake8 for PEP8 and contributors added 2014-02-07 15:20:27 +00:00