From fb0f0c1e8b5961f1ae784c52ab5d7536fa37f19f Mon Sep 17 00:00:00 2001 From: Peter Bull Date: Mon, 11 Mar 2024 08:00:34 -0700 Subject: [PATCH] ruff fixes (#11) --- examples/usage.py | 3 +-- pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/usage.py b/examples/usage.py index c33e5c9..ff7bc27 100644 --- a/examples/usage.py +++ b/examples/usage.py @@ -1,5 +1,4 @@ -"""Basic usage example of repro_zipfile. -""" +"""Basic usage example of repro_zipfile.""" from pathlib import Path diff --git a/pyproject.toml b/pyproject.toml index 116cb44..d11d0be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,8 @@ test = "pytest {args:tests} -v --cov=. --cov=./cli --cov-report=term --cov-repor [tool.ruff] line-length = 99 + +[tool.lint] select = [ "E", # Pyflakes "F", # Pycodestyle @@ -83,7 +85,7 @@ select = [ src = ["*.py", "cli/*.py", "tests/*.py"] unfixable = ["F"] -[tool.ruff.isort] +[tool.lint.isort] known-first-party = ["repro_zipfile", "rpzip"] force-sort-within-sections = true