Run dos2unix on project

This commit is contained in:
Jared Miller 2026-02-12 20:13:41 -05:00
parent 6a37f9c65d
commit ac2154d935
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C

View file

@ -1,48 +1,48 @@
[project] [project]
name = "playscii" name = "playscii"
version = "9.18" version = "9.18"
description = "ascii art and game creation tool" description = "ascii art and game creation tool"
requires-python = ">=3.12" requires-python = ">=3.12"
dependencies = [ dependencies = [
"appdirs", "appdirs",
"numpy", "numpy",
"Pillow", "Pillow",
"PyOpenGL", "PyOpenGL",
"PySDL2", "PySDL2",
"packaging", "packaging",
] ]
[dependency-groups] [dependency-groups]
dev = [ dev = [
"ruff", "ruff",
"pytest", "pytest",
] ]
[build-system] [build-system]
requires = ["hatchling"] requires = ["hatchling"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[tool.ruff] [tool.ruff]
src = ["."] src = ["."]
line-length = 88 line-length = 88
[tool.ruff.lint] [tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"] select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = [ ignore = [
"E402", # module-import-not-at-top (intentional for SDL2 init) "E402", # module-import-not-at-top (intentional for SDL2 init)
"E501", # line-too-long (formatter handles what it can) "E501", # line-too-long (formatter handles what it can)
"E741", # ambiguous-variable-name (common in math/game code) "E741", # ambiguous-variable-name (common in math/game code)
"B006", # mutable-argument-default (legacy code, risky to change) "B006", # mutable-argument-default (legacy code, risky to change)
"SIM102", # collapsible-if (stylistic preference) "SIM102", # collapsible-if (stylistic preference)
"SIM108", # if-else-block-instead-of-if-exp (stylistic preference) "SIM108", # if-else-block-instead-of-if-exp (stylistic preference)
"SIM110", # use-all-instead-of-for-loop (stylistic preference) "SIM110", # use-all-instead-of-for-loop (stylistic preference)
"SIM113", # enumerate-for-loop (stylistic preference) "SIM113", # enumerate-for-loop (stylistic preference)
"SIM115", # open-file-with-context-handler (too invasive for legacy code) "SIM115", # open-file-with-context-handler (too invasive for legacy code)
"SIM116", # if-else-block-instead-of-dict-lookup (stylistic preference) "SIM116", # if-else-block-instead-of-dict-lookup (stylistic preference)
"SIM201", # negate-equal-op (stylistic preference) "SIM201", # negate-equal-op (stylistic preference)
"SIM222", # expr-or-true (debug code) "SIM222", # expr-or-true (debug code)
"SIM223", # expr-and-false (debug code) "SIM223", # expr-and-false (debug code)
] ]
[tool.pytest.ini_options] [tool.pytest.ini_options]
testpaths = ["tests"] testpaths = ["tests"]