Bump ruff (#3879)

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dae3f4f..74620f5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -58,7 +58,7 @@
           - -d
           - "{extends: relaxed, rules: {line-length: {max: 90}}}"
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.14.14
+    rev: v0.15.2
     hooks:
       - id: ruff-check
       - id: ruff-format
@@ -89,4 +89,4 @@
           - types-chardet
 
 ci:
-  autoupdate_schedule: monthly
+  autoupdate_schedule: weekly
diff --git a/pyproject.toml b/pyproject.toml
index da0d7b3..58bc385 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -143,7 +143,6 @@
     "S404",
     "SIM105",
     "SIM115",
-    "UP038",   # https://github.com/astral-sh/ruff/issues/7871
     # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
     "W191",
     "E111",