Skip to content

Commit

Permalink
Enforce new language syntax with pyupgrade rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Nov 3, 2023
1 parent 6f088dd commit 507d925
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions qgis/resources.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
Expand Down
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See https://docs.astral.sh/ruff/rules/
select = ["C4", "D2", "D3", "D4", "E", "F", "I", "NPY", "PD"]
select = ["C4", "D2", "D3", "D4", "E", "F", "I", "NPY", "PD", "UP"]
ignore = [
"D202",
"D205",
Expand Down

0 comments on commit 507d925

Please sign in to comment.