using ruff instead of flake8 (#787)

* using ruff instead of flake8

* using ruff instead of flake8

* using ruff instead of flake8
This commit is contained in:
Atsushi Sakai
2023-01-30 21:33:49 +09:00
committed by GitHub
parent ffd8602e25
commit 15a9190060
5 changed files with 62 additions and 19 deletions

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#

View File

@@ -34,17 +34,22 @@ Requirements
For development:
- pytest (for unit tests)
- pytest-xdist (for parallel unit tests)
- mypy (for type check)
- sphinx (for document generation)
- pycodestyle (for code style check)
- `pytest`_ (for unit tests)
- `pytest-xdist`_ (for parallel unit tests)
- `mypy`_ (for type check)
- `sphinx`_ (for document generation)
- `ruff`_ (for code style check)
.. _`Python 3.11.x`: https://www.python.org/
.. _`NumPy`: https://numpy.org/
.. _`SciPy`: https://scipy.org/
.. _`Matplotlib`: https://matplotlib.org/
.. _`cvxpy`: https://www.cvxpy.org/
.. _`pytest`: https://docs.pytest.org/en/latest/
.. _`pytest-xdist`: https://github.com/pytest-dev/pytest-xdist
.. _`mypy`: https://mypy-lang.org/
.. _`sphinx`: https://www.sphinx-doc.org/en/master/index.html
.. _`ruff`: https://github.com/charliermarsh/ruff
How to use