diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index 50442c04..4f2a9fcd 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d5b126c7..e8739349 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ 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` @@ -30,6 +30,6 @@ repos: 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']