Skip to content

Add deptry in pre-commit config and two new requirements#91

Merged
m-aciek merged 1 commit into
mainfrom
deptry
May 7, 2025
Merged

Add deptry in pre-commit config and two new requirements#91
m-aciek merged 1 commit into
mainfrom
deptry

Conversation

@m-aciek
Copy link
Copy Markdown
Collaborator

@m-aciek m-aciek commented May 1, 2025

Follow-up for #90.

The requirements were transitive, but we are using them directly, so they should be in the requirements.

Use of non-official pre-commit hook is justified by the fact that pre-commit hooks should not depend on the repository environment, as recommended by the pre-commit creator, making an independent deptry hook preferable.


📊 Dashboard preview 📊: https://python-docs-translations.github.io/dashboard/91/merge/

The requirements were transitive, but we are using them directly, so they should be in the requirements.
Comment thread .pre-commit-config.yaml
- id: mypy
additional_dependencies: [types-docutils, types-polib>=1.2.0.20250114, types-requests]

- repo: https://github.com/francescorubbo/deptry-pre-commit
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... It is not very popular, but from a scan of the repo it seems alright.

@m-aciek m-aciek merged commit 571488a into main May 7, 2025
4 checks passed
@m-aciek m-aciek deleted the deptry branch May 7, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants