Skip to content

Commit

Permalink
Merge pull request #9 from zaro0508/fix1
Browse files Browse the repository at this point in the history
* fix pre-commit in CI - reinstall of pre-commit GH app.
* fix tests in CI - needed to pull in files from sceptre-resolver-template and update dependencies.
  • Loading branch information
zaro0508 authored Jun 18, 2024
2 parents 2fd7806 + f67c6ac commit c8717c5
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 146 deletions.
32 changes: 15 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ default_language_version:
python: python3

repos:
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.28.5
hooks:
- id: check-github-workflows
- id: check-github-actions
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
Expand All @@ -32,30 +27,33 @@ repos:
- "-i=W6001"
exclude: |
(?x)(
^integration-tests/sceptre-project/config/|
^integration-tests/sceptre-project/templates/jinja/|
^tests/fixtures-vpc/config/|
^tests/fixtures/config/|
^temp/|
^.circleci/|
^.github/|
^.pre-commit-config.yaml
)
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.10
- repo: https://github.com/python-poetry/poetry
rev: '1.8.0'
hooks:
- id: poetry-check
# poetry-lock linter is failing with "Failed to resolve 'pypi.org'"
# not sure why so commenting out for now
# - id: poetry-lock
# language_version: python3.10
- id: poetry-lock
language_version: python3.10
args: ['--check']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.10.0'
hooks:
- id: mypy
args: [--ignore-missing-imports]
additional_dependencies: [types-PyYAML]
args: [ --ignore-missing-imports ]
additional_dependencies: [ types-PyYAML ]
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.28.5
hooks:
- id: check-github-workflows
- id: check-github-actions
Loading

0 comments on commit c8717c5

Please sign in to comment.