Skip to content

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.

2 participants