alec-kr / F1PyStats

An open-source Python3 package that provides Formula 1 data to developers.
GNU General Public License v3.0
54 stars 19 forks source link

Warning for deprecated option --dev #130

Open youpong opened 1 year ago

youpong commented 1 year ago

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):

Additional context None.

youpong commented 1 year ago

They are working on the following pull request.

Once the pull request is merged, we will need to tweak noxfile.py a bit.

alec-kr commented 3 weeks ago

@youpong Any update on this?