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
Contributing and tools #812
Open
ivantodorovich
wants to merge
4
commits into
tiangolo:master
Choose a base branch
from
ivantodorovich:contributing-and-tools
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Contributing and tools #812
ivantodorovich
wants to merge
4
commits into
tiangolo:master
from
ivantodorovich:contributing-and-tools
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ivantodorovich
force-pushed
the
contributing-and-tools
branch
from
April 27, 2024 23:00
5908c29
to
009b463
Compare
π Docs preview for commit 009b463 at: https://5b2166b5.typertiangolo.pages.dev |
svlandeg
added
docs
Improvements or additions to documentation
repo / tests
Involving the CI / test suite
p3
labels
Apr 29, 2024
ivantodorovich
force-pushed
the
contributing-and-tools
branch
from
April 29, 2024 13:25
009b463
to
3e75d7c
Compare
π Docs preview for commit 3e75d7c at: https://976d412f.typertiangolo.pages.dev |
Before this commit, the linting was done in the test matrix (once per python version). This is not necessary, as the linting is the same for all versions. Now, the linting is fully delegated to pre-commit, and executed as a separate job.
* Remove the outdated `flit` section * Mention pre-commit and how to use it * Describe how to set-up the development dependencies * Describe how to run tests
ivantodorovich
force-pushed
the
contributing-and-tools
branch
from
April 29, 2024 23:36
3e75d7c
to
15a1dcd
Compare
π Docs preview for commit 15a1dcd at: https://0b4673db.typertiangolo.pages.dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π Update the Contributing documentation
flit
section⬠Bump ruff pre-commit hook
This also does a minor formatting diff on some files
π€ Add mypy pre-commit hook
With this, it's not needed to install
mypy
directly, as pre-commit will do it in a separate virtual envπ± Run lint in a separate ci job
Before this commit, the linting was done in the test matrix (once per python version). This is not necessary, as the linting is the same for all versions.
Now, the linting is fully delegated to pre-commit, and executed as a separate job.
By doing this we delegate
ruff
completely topre-commit
, and so the linting script and theruff
requirement for testing is removed.