F1PyStats
F1PyStats copied to clipboard
Warning for deprecated option --dev
Describe the bug
Warning for deprecated option --dev on mypy static check.
To Reproduce Steps to reproduce the behavior:
$ poetry run nox -s mypy
Expected behavior No warn.
Screenshots
$ poetry run nox -s mypy
nox > Running session mypy
nox > Creating virtual environment (virtualenv) using python in .nox/mypy
nox > poetry export --format=requirements.txt --dev --without-hashes
The `--dev` option is deprecated, use the `--with dev` notation instead.
nox > python -m pip install --constraint=.nox/mypy/tmp/requirements.txt mypy types-requests numpy pytest nox_poetry types-toml
nox > mypy f1pystats tests noxfile.py docs/conf.py
Success: no issues found in 46 source files
nox > Session mypy was successful.
User System Specs (please complete the following information):
- OS: Ubuntu 22.04.2 LTS
- Python: 3.9.16
Additional context None.
They are working on the following pull request.
- cjolowicz/nox-poetry#1080
Once the pull request is merged, we will need to tweak noxfile.py a bit.