mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
remove pre commit, no longer needed
This commit is contained in:
@@ -1,31 +0,0 @@
|
|||||||
# See https://pre-commit.com for more information
|
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
|
||||||
repos:
|
|
||||||
- repo: local
|
|
||||||
hooks:
|
|
||||||
- id: pre-commit-yarn-build
|
|
||||||
name: Build javascript files
|
|
||||||
entry: yarn --cwd ./vue build
|
|
||||||
always_run: true
|
|
||||||
language: system
|
|
||||||
types: [ python ]
|
|
||||||
pass_filenames: false
|
|
||||||
|
|
||||||
#- id: pre-commit-django-migrations
|
|
||||||
# name: Check django migrations
|
|
||||||
# entry: bash -c './venv/bin/activate && ./manage.py makemigrations --check'
|
|
||||||
# language: system
|
|
||||||
# types: [ python ]
|
|
||||||
# pass_filenames: false
|
|
||||||
# - id: pre-commit-django-make-messages
|
|
||||||
# name: Make messages if necessary
|
|
||||||
# entry: ./manage.py makemessages -i venv -a
|
|
||||||
# language: system
|
|
||||||
# types: [ python ]
|
|
||||||
# pass_filenames: false
|
|
||||||
# - id: pre-commit-django-compile-messages
|
|
||||||
# name: Compile messages if necessary
|
|
||||||
# entry: ./manage.py compilemessages -i venv
|
|
||||||
# language: system
|
|
||||||
# types: [ python ]
|
|
||||||
# pass_filenames: false
|
|
||||||
@@ -49,15 +49,6 @@ Navigate to `vue/src/utils/openapi`.
|
|||||||
|
|
||||||
Generate the schema using `openapi-generator-cli generate -g typescript-axios -i http://127.0.0.1:8000/openapi/` (replace your dev server url if required)
|
Generate the schema using `openapi-generator-cli generate -g typescript-axios -i http://127.0.0.1:8000/openapi/` (replace your dev server url if required)
|
||||||
|
|
||||||
### Pre-Commit
|
|
||||||
Some checks and scripts can be automatically run using [pre-commit](https://pre-commit.com/).
|
|
||||||
|
|
||||||
The scripts are configured in the `pre-commit-config.yaml`. To setup the hooks on your development environment install
|
|
||||||
pre commit using `pip install pre-commit` and run `pre-commit install` to setup the hooks.
|
|
||||||
|
|
||||||
To manually test all hooks (and ignore if files have changed) use `pre-commit run --all-files`
|
|
||||||
|
|
||||||
|
|
||||||
## Contribute Documentation
|
## Contribute Documentation
|
||||||
The documentation is build from the markdown files in the [docs](https://github.com/vabene1111/recipes/tree/develop/docs)
|
The documentation is build from the markdown files in the [docs](https://github.com/vabene1111/recipes/tree/develop/docs)
|
||||||
folder of the GitHub repository.
|
folder of the GitHub repository.
|
||||||
|
|||||||
Reference in New Issue
Block a user