Skip to content
Snippets Groups Projects

Add pre-commit hook and improve with better linting

Merged Hannes Feldt requested to merge add-pre-commit-improve-tox-setup into main
1 file
+ 2
3
Compare changes
  • Side-by-side
  • Inline
+ 2
3
@@ -25,14 +25,13 @@ build-template:
@@ -25,14 +25,13 @@ build-template:
- git add .
- git add .
- git commit -m 'Test'
- git commit -m 'Test'
- git push --dry-run -u origin test
- git push --dry-run -u origin test
 
- rm -r .venv
 
- rm -r .git
# cannot use needs, for artifacts on child pipeline so must regenerate template!
# cannot use needs, for artifacts on child pipeline so must regenerate template!
artifacts:
artifacts:
paths:
paths:
- my_awesome_app/*
- my_awesome_app/*
- project.gitlab-ci.yml
- project.gitlab-ci.yml
exclude:
- my_awesome_app/.venv
- my_awesome_app/.git
# Spawn pipeline using the gitlab-ci.yml from generated template instance
# Spawn pipeline using the gitlab-ci.yml from generated template instance
# use project.gitlab.ci.yml for necessary job overrides from this template instance
# use project.gitlab.ci.yml for necessary job overrides from this template instance
Loading