Skip to content

Commit 54b0ed5

Browse files
committed
Explicitly support Python 3.14, version bump, ruff linting configuration
1 parent 1b7f254 commit 54b0ed5

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

pyproject.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "reynir-correct"
3-
version = "4.1.0"
3+
version = "4.1.1"
44
description = "Spelling and grammar correction for Icelandic"
55
authors = [{ name = "Miðeind ehf.", email = "mideind@mideind.is" }]
66
readme = { file = "README.rst", content-type = "text/x-rst" }
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.11",
2323
"Programming Language :: Python :: 3.12",
2424
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
2526
"Programming Language :: Python :: Implementation :: CPython",
2627
"Programming Language :: Python :: Implementation :: PyPy",
2728
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -61,11 +62,17 @@ filterwarnings = [
6162
[tool.ruff]
6263
line-length = 120
6364

64-
[tool.black]
65-
line-length = 120
65+
[tool.ruff.lint]
66+
#select = ["ALL"] # We use default rules for now
67+
extend-select = ["E501"] # Complain about line length
68+
# Ignore specific rules
69+
# (we should aim to have these as few as possible)
70+
ignore = [
71+
"F405", # 'F405: Name may be undefined, or defined from star imports: typing'
72+
"E731", # 'E731: Do not assign a lambda expression, use a def'
73+
]
6674

6775
[tool.isort]
6876
# This forces these imports to placed at the top
6977
known_future_library = ["__future__", "typing", "typing_extensions"]
70-
profile = "black"
7178
line_length = 120

0 commit comments

Comments
 (0)