Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 32 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ dependencies = [
"rich",
]

[project.optional-dependencies]
develop = [
"ipdb",
"ipython",
]

[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true
Expand All @@ -35,3 +29,35 @@ where = ["src"]
[project.scripts]
runconf-shifter-ui = "runconf_ui.apps.__main__shifter_view__:main"
py_oks_dump = "runconf_ui.apps.__main__oks_dump__:main"

[project.optional-dependencies]
dev = [
"ruff",
"pytest",
"pytest-cov",
]
develop = [
"ipdb",
"ipython",
]

[tool.pytest.ini_options]
addopts = "-v --tb=short --cov=runconf_ui --cov=src/runconf_ui tests/" # omitted --cov-report=html to avoid suppressing table to stdout

[tool.coverage.run]
source = ["runconf_ui"]
omit = ["tests/*", "scripts/*"]

# * See https://docs.astral.sh/ruff/rules/ for details on Ruff's linting options
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # check for errors using PyFlakes
"I", # best practices for import calls
"UP", # suggestions for code modernization
"RUF", # build in Ruff warnings
"R", # refactoring suggestions
]
ignore = [
"E501", # Don't enforce line lengths within a linting context
]
Loading