Skip to content

Commit 87e85ea

Browse files
committed
Add ruff upgrade
1 parent 463891e commit 87e85ea

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
42
#
53
# SPDX-License-Identifier: MIT

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ dynamic = ["dependencies", "optional-dependencies"]
4242
target-version = "py38"
4343

4444
[tool.ruff.lint]
45-
select = ["I", "PL"]
46-
ignore = ["PLR2004"]
45+
select = ["I", "PL", "UP"]
46+
ignore = ["PLR2004", "UP028", "UP030", "UP031", "UP032"]
4747

4848
[tool.ruff.format]
4949
line-ending = "lf"

0 commit comments

Comments
 (0)