Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add make setup-dev and make run-pre-commit tools #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattf
Copy link
Collaborator

@mattf mattf commented Mar 19, 2024

  • install pre-commit in development environment, assisted by make setup-dev
  • configure pre-commit to run ruff, isort, poetry-check, mypy
  • provide make run-pre-commit for checking across repository (pre-commit runs on committed files by default)

major change: require python >=3.8.1,<4.0 to >=3.9,<4.0 because pre-commit requires >=3.9

@mattf mattf self-assigned this Mar 19, 2024
@mattf mattf requested a review from efriis March 19, 2024 14:57
@@ -11,7 +11,7 @@ license = "MIT"
"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/nvidia-ai-endpoints"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
python = ">=3.9,<4.0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@efriis what do you suggest for handling the pre-commit dep on py >=3.9?

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.

1 participant