From e9ed6852590e73b49cd6220ef091a85382ee093f Mon Sep 17 00:00:00 2001 From: Michael Wayne Goodman Date: Mon, 9 Sep 2024 22:21:29 -0700 Subject: [PATCH] Fix Ruff settings --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7f4007f..9c13c36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,7 @@ dependencies = [ ] [tool.hatch.envs.dev.scripts] test = "pytest {args:.}" -lint = "ruff {args:delphin/}" +lint = "ruff check {args:delphin/}" typecheck = "mypy --namespace-packages --explicit-package-bases --ignore-missing-imports --disable-error-code=method-assign {args:delphin/}" [tool.hatch.envs.docs] @@ -90,6 +90,8 @@ clean = "make -C docs clean" [tool.ruff] target-version = "py38" line-length = 79 + +[tool.ruff.lint] select = [ "B", # flake8-bugbear "E", # pycodestyle errors