From c503c3c147b00d3abf5b276e3acf13fe5f160683 Mon Sep 17 00:00:00 2001 From: Sylvain Soliman <Sylvain.Soliman@inria.fr> Date: Mon, 11 Mar 2024 14:00:34 +0100 Subject: [PATCH] ruff stuff --- casq/__init__.py | 1 + casq/utils.py | 1 + pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/casq/__init__.py b/casq/__init__.py index d9175a2..6eaff98 100644 --- a/casq/__init__.py +++ b/casq/__init__.py @@ -17,5 +17,6 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. """ + # Don't forget to git tag v<version> && git push --tags version = "1.3.1" # pylint: disable=invalid-name diff --git a/casq/utils.py b/casq/utils.py index 785e83c..9d80acc 100755 --- a/casq/utils.py +++ b/casq/utils.py @@ -15,6 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. """ + import json import subprocess import time diff --git a/pyproject.toml b/pyproject.toml index 4cecf42..37455d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -117,7 +117,7 @@ view = [ "open docs/_build/html/index.html", ] -[tool.ruff] +[tool.ruff.lint] select = ["C", "E", "F", "W", "D", "A", "I", "B"] ignore = ["D203", "D212", "D213", "E501", "D206", "W191", "C901"] -- GitLab