Skip to content

Commit 571c845

Browse files
committed
remove redundant tool config
1 parent d439ffb commit 571c845

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

pyproject.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ classifiers = [
1414
"Programming Language :: Python :: Implementation :: CPython",
1515
"Topic :: Multimedia :: Graphics",
1616
"Topic :: Software Development :: Libraries :: Python Modules",
17-
"Topic :: Utilities"
17+
"Topic :: Utilities",
1818
]
1919
homepage = "https://github.com/FHPythonUtils/LayeredImage"
2020
repository = "https://github.com/FHPythonUtils/LayeredImage"
@@ -42,12 +42,6 @@ ruff = "^0.1.13"
4242
blackt = "^2024"
4343
pyright = "^1.1.347"
4444

45-
[tool.cercis]
46-
line-length = 100
47-
single-quote = false
48-
use-tabs = true
49-
target-version = ["py38"]
50-
5145
[build-system]
5246
requires = ["poetry-core"]
5347
build-backend = "poetry.core.masonry.api"
@@ -59,7 +53,15 @@ target-version = "py38"
5953

6054
[tool.ruff.lint]
6155
select = ["ALL"]
62-
ignore = ["D2", "COM812", "ISC001", "W191", "N", "TCH", "PLR09", "ANN101"]
56+
ignore = [
57+
"ANN101", # type annotation for self in method
58+
"COM812", # enforce trailing comma
59+
"D2", # pydocstyle formatting
60+
"N", # pep8 naming
61+
"PLR09", # pylint refactor too many
62+
"TCH", # type check blocks
63+
"W191" # ignore this to allow tabs
64+
]
6365
fixable = ["ALL"]
6466

6567

tests/test_main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ def test_gif() -> None:
114114
layeredimage.io.saveLayerImage(f"{THISDIR}/data/gif_output.gif", gif)
115115
gif.getFlattenLayers().save(f"{THISDIR}/data/gif_output.png")
116116
assert is_equal(
117-
f"{THISDIR}/data/gif_output.png", f"{THISDIR}/data/gif_output_expected.png", tolerance=0.2
117+
f"{THISDIR}/data/gif_output.png",
118+
f"{THISDIR}/data/gif_output_expected.png",
119+
tolerance=0.2,
118120
)
119121

120122

0 commit comments

Comments
 (0)