From 3284e73c531c918306ee03dacbb19fb42d8fdf2b Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 3 Oct 2024 01:26:02 -0400 Subject: [PATCH] chore: more minor modernizations (#132) Signed-off-by: Henry Schreiner --- .github/dependabot.yml | 6 +++++- .github/release.yml | 5 +++++ pyproject.toml | 7 ++----- 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .github/release.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6fddca0..8b13673 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,4 +4,8 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" + groups: + actions: + patterns: + - "*" diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..9d1e098 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,5 @@ +changelog: + exclude: + authors: + - dependabot + - pre-commit-ci diff --git a/pyproject.toml b/pyproject.toml index 2beb468..07534b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,7 +80,6 @@ files = "src" python_version = "3.8" warn_unused_configs = "true" strict = true -show_error_codes = true warn_unreachable = true enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] @@ -90,8 +89,7 @@ ignore_missing_imports = true [tool.ruff.lint] -select = [ - "E", "F", "W", # flake8 +extend-select = [ "B", # flake8-bugbear "I", # isort "ARG", # flake8-unused-arguments @@ -115,9 +113,8 @@ select = [ "NPY", # NumPy specific rules "PD", # pandas-vet ] -extend-ignore = [ +ignore = [ "PLR", # Design related pylint codes - "E501", # Line too long "PT004", # Use underscore for non-returning fixture (use usefixture instead) "PT013", # Incorrect import of pytest "ISC001", # Conflicts with formatter