You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we only have a dev group. In that group, many things are listed, ranging from testing to docs to linting. IMO, we should have a dev group which includes only dev tools like pre-commit and Nox which are capable of managing their own environments. Then we can have two more groups: docs for mkdocs and friends. test for pytest, mypy, and friends. We can then use nox to handle running tasks like building docs, typechecking, and testing. Pre-commit handles everything that doesn't require the project's dependencies, like linting and formatting and various miscellaneous safety checks.
Regardless of whether we use Nox, I think it will be valuable to break out these 3 groups. More discussion here! #614
The text was updated successfully, but these errors were encountered:
mfisher87
changed the title
Dependency groups: right now we only have a dev group. In that group, many things are listed, ranging from testing to docs to linting. IMO, we should have a dev group which includes only dev tools like pre-commit and Nox which are capable of managing their own environments. Have two more groups: docs for mkdocs and friends. test for pytest, mypy, and friends. Use nox to handle running tasks like building docs, typechecking, and testing. Pre-commit handles everything that doesn't require the project's dependencies, like linting and formatting and various miscellaneous safety checks.
Reconsider dependency groups
Jun 26, 2024
Right now we only have a dev group. In that group, many things are listed, ranging from testing to docs to linting. IMO, we should have a
dev
group which includes only dev tools like pre-commit and Nox which are capable of managing their own environments. Then we can have two more groups:docs
for mkdocs and friends.test
for pytest, mypy, and friends. We can then use nox to handle running tasks like building docs, typechecking, and testing. Pre-commit handles everything that doesn't require the project's dependencies, like linting and formatting and various miscellaneous safety checks.Regardless of whether we use Nox, I think it will be valuable to break out these 3 groups. More discussion here! #614
The text was updated successfully, but these errors were encountered: