Skip to content

Commit

Permalink
Merge pull request #177 from altheaden/CI-update-for-pyproject
Browse files Browse the repository at this point in the history
Update CI and pre-commit for new setup config files
  • Loading branch information
xylar authored Jul 17, 2024
2 parents 911c417 + 96ca7b0 commit 679a1c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('spec-file.txt,setup.cfg') }}
hashFiles('spec-file.txt,pyproject.toml,') }}

- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Set up Conda Environment
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
args: ["--config=setup.cfg"]
args: ["--config=.flake8"]
additional_dependencies: [flake8-isort]

# Can run individually with `pre-commit run mypy --all-files`
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
hooks:
- id: mypy
args: ["--config=setup.cfg", "--show-error-codes"]
args: ["--config=pyproject.toml", "--show-error-codes"]
verbose: true
additional_dependencies: ['types-requests', 'types-PyYAML']

0 comments on commit 679a1c3

Please sign in to comment.