summaryrefslogtreecommitdiff
path: root/babel
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2023-01-18 20:01:47 +0200
committerAarni Koskela <akx@iki.fi>2023-01-18 21:13:08 +0200
commit47072d2c96390f5e5daae9e96d5dc30ae2d704ec (patch)
treef935696f4238bcb18a81223f1c35c54be1fbdb86 /babel
parentf5ef6d06f961865ff9dbb3ff9d3fc81f0bbe8fd1 (diff)
downloadbabel-47072d2c96390f5e5daae9e96d5dc30ae2d704ec.tar.gz
Apply ruff C category fixes
Diffstat (limited to 'babel')
-rw-r--r--babel/plural.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/plural.py b/babel/plural.py
index 62bb020..fd0d0da 100644
--- a/babel/plural.py
+++ b/babel/plural.py
@@ -115,7 +115,7 @@ class PluralRule:
rules = rules.items()
found = set()
self.abstract: list[tuple[str, Any]] = []
- for key, expr in sorted(list(rules)):
+ for key, expr in sorted(rules):
if key not in _plural_tags:
raise ValueError(f"unknown tag {key!r}")
elif key in found: