Skip to content

Commit

Permalink
Merge pull request #62 from anaconda/smartin_mypy_fix
Browse files Browse the repository at this point in the history
Fixes mypy issue and removes redundant pre-commit check
  • Loading branch information
schuylermartin45 authored Jan 29, 2025
2 parents e2c3995 + a607093 commit 607026a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ repos:
# `pre-commit` no longer provides a hook for `pytest`, by design
- repo: local
hooks:
- id: pytest
language: system
name: pytest
always_run: true
pass_filenames: false
entry: make test
- id: pytest-cov
language: system
name: pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion anaconda_packaging_utils/storage/config_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
## Constants ##
CONFIG_FILE_NAME: Final[str] = ".anaconda-packaging-utils-config.yaml"
# Note that `mypy` takes issue with `Path.home()` for returning "Any"
CONFIG_FILE_DEFAULT_PATH: Final[Path] = Path.home() / Path(CONFIG_FILE_NAME) # type: ignore
CONFIG_FILE_DEFAULT_PATH: Final[Path] = Path.home() / Path(CONFIG_FILE_NAME)


@no_type_check
Expand Down

0 comments on commit 607026a

Please sign in to comment.