From 8a6ad54b007fd02168a7ae27e801dae6b98a5cbd Mon Sep 17 00:00:00 2001 From: Neil Shephard Date: Wed, 20 Nov 2024 11:25:36 +0000 Subject: [PATCH] package: Removes target-version from ruff; updates black target Closes #53 As per [RF002: Target version must be set](https://learn.scientific-python.org/development/guides/style#RF002) removes `target-version` from `ruff` configuration. --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index eea53ea..47f12ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -133,7 +133,7 @@ omit = [ [tool.black] line-length = 120 -target-version = ['py38'] +target-version = ['py39'] exclude = ''' ( @@ -171,7 +171,6 @@ exclude = [ ] # per-file-ignores = [] line-length = 120 -target-version = "py310" lint.select = [ "A", # flake8-builtins "B", # flake8-bugbear