diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d4cf45f8..050d5b11d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -221,4 +221,4 @@ jobs: python -m pip install --upgrade tox - name: Test with tox - run: tox -e docs,style,packaging + run: tox -e docs,packaging diff --git a/.gitignore b/.gitignore index df5a2d10c..6caa61357 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,5 @@ docs/_build example/db.sqlite3 htmlcov .tox -node_modules -package-lock.json geckodriver.log coverage.xml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ce264484..7e6cd3f8b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,6 +38,8 @@ repos: - id: eslint files: \.js?$ types: [file] + args: + - --fix - repo: https://github.com/psf/black rev: 21.11b1 hooks: diff --git a/Makefile b/Makefile index 5b5ca4d76..1600496e5 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,4 @@ -.PHONY: flake8 example test coverage translatable_strings update_translations - -PRETTIER_TARGETS = '**/*.(css|js)' - -style: package-lock.json - isort . - black --target-version=py36 . - flake8 - npx eslint --ignore-path .gitignore --fix . - npx prettier --ignore-path .gitignore --write $(PRETTIER_TARGETS) - ! grep -r '\(style=\|onclick=\|