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

Use session decorator from nox-poetry #769

Merged
merged 2 commits into from
Feb 8, 2021

Conversation

cjolowicz
Copy link
Owner

@cjolowicz cjolowicz commented Feb 8, 2021

  • Use @session decorator from nox-poetry instead of nox.
  • Remove uses of deprecated functions nox_poetry.patch and nox_poetry.export_requirements.
  • Disable mypy warning [attr-defined] when accessing session._runner, which is a private attribute and therefore missing from the type stubs provided by nox-poetry. We use this attribute to determine the number of sessions enabled for the Nox run.

@cjolowicz cjolowicz added the testing Adding missing tests or correcting existing tests label Feb 8, 2021
@cjolowicz cjolowicz merged commit 9454c2d into master Feb 8, 2021
@cjolowicz cjolowicz deleted the retrocookie-pr/nox-poetry-session branch February 8, 2021 10:45
@cjolowicz cjolowicz mentioned this pull request Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Adding missing tests or correcting existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant