Skip to content

Commit

Permalink
refactor: use symbolic links instead of scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Nov 2, 2023
1 parent 31fdf62 commit ea8a49c
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 521 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ jobs:
- name: Generate pipeline definitions
run: poetry run pre-commit run gen-docs-components --all-files --show-diff-on-failure

- name: Copy contribution guide into docs
run: poetry run pre-commit run gen-docs-contributing --all-files --show-diff-on-failure
# - name: Copy contribution guide into docs
# run: poetry run pre-commit run gen-docs-contributing --all-files --show-diff-on-failure

- name: Copy changelog into docs
run: poetry run pre-commit run gen-docs-changelog --all-files --show-diff-on-failure
# - name: Copy changelog into docs
# run: poetry run pre-commit run gen-docs-changelog --all-files --show-diff-on-failure

- name: Test
run: poetry run pytest tests
Expand Down
28 changes: 14 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@ repos:
| kpops/components/.*\.py
)$
require_serial: true
- id: gen-docs-contributing
name: gen-docs-contributing
entry: python hooks/gen_docs/gen_docs_contributing.py
language: system
types: [python]
require_serial: true
pass_filenames: false
- id: gen-docs-changelog
name: gen-docs-changelog
entry: python hooks/gen_docs/gen_docs_changelog.py
language: system
types: [python]
require_serial: true
pass_filenames: false
# - id: gen-docs-contributing
# name: gen-docs-contributing
# entry: python hooks/gen_docs/gen_docs_contributing.py
# language: system
# types: [python]
# require_serial: true
# pass_filenames: false
# - id: gen-docs-changelog
# name: gen-docs-changelog
# entry: python hooks/gen_docs/gen_docs_changelog.py
# language: system
# types: [python]
# require_serial: true
# pass_filenames: false
- id: dprint
name: dprint
entry: dprint fmt
Expand Down
Loading

0 comments on commit ea8a49c

Please sign in to comment.