mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-08-19 18:42:26 +02:00
refactor!: organize project layout (#1483)
* refactor!: organize project layout * refactor: organize tests * fix: change main.py with __main__.py in tagstudio.spec * refactor: rename renderer.py to file_renderer.py
This commit is contained in:
committed by
GitHub
parent
f89f0a6c7f
commit
c32f500f3c
+3
-3
@@ -43,7 +43,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[project.gui-scripts]
|
||||
tagstudio = "tagstudio.main:main"
|
||||
tagstudio = "tagstudio.__main__:main"
|
||||
|
||||
[dependency-groups]
|
||||
all = [
|
||||
@@ -97,7 +97,7 @@ filterwarnings = [
|
||||
ignore = [
|
||||
".venv/**",
|
||||
"src/tagstudio/core/library/json/",
|
||||
"src/tagstudio/renderers/vendored/pydub/",
|
||||
"src/tagstudio/previews/vendored/pydub/",
|
||||
]
|
||||
include = ["src/tagstudio", "tests"]
|
||||
# Reference for the settings here: https://github.com/microsoft/pyright/blob/main/docs/configuration.md
|
||||
@@ -126,7 +126,7 @@ ignore = ["D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107"]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"tests/**" = ["D", "E402"]
|
||||
"src/tagstudio/renderers/vendored/**" = ["B", "E", "N", "UP", "SIM115"]
|
||||
"src/tagstudio/previews/vendored/**" = ["B", "E", "N", "UP", "SIM115"]
|
||||
|
||||
[tool.ruff.lint.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
Reference in New Issue
Block a user