Add/reorg back some content from `poetry` old config

add_ruff_linter
Tyler Goodlet 2025-02-14 13:47:02 -05:00
parent 51337052a4
commit 933f169938
1 changed files with 9 additions and 11 deletions

View File

@ -23,10 +23,10 @@ build-backend = "hatchling.build"
# tool.ruff.target-version = "py310" # tool.ruff.target-version = "py310"
# [tool.ruff.lint] # [tool.ruff.lint]
# https://docs.astral.sh/ruff/settings/#lint_ignore # # https://docs.astral.sh/ruff/settings/#lint_ignore
# ignore = [] # ignore = []
# https://docs.astral.sh/ruff/settings/#lint_per-file-ignores # # https://docs.astral.sh/ruff/settings/#lint_per-file-ignores
# "piker/ui/qt.py" = [ # "piker/ui/qt.py" = [
# "E402", # "E402",
# 'F401', # unused imports (without __all__ or blah as blah) # 'F401', # unused imports (without __all__ or blah as blah)
@ -34,7 +34,6 @@ build-backend = "hatchling.build"
# ] # ]
# ignore-init-module-imports = false # ignore-init-module-imports = false
# ------ - ------
[project] [project]
name = "piker" name = "piker"
@ -105,24 +104,23 @@ uis = [
"pyqt6 >=6.7.0, <7.0.0", "pyqt6 >=6.7.0, <7.0.0",
"pyqtgraph", "pyqtgraph",
# ------ - ------ # for consideration,
# - 'visidata'
# TODO: add an `--only daemon` group for running non-ui / pikerd # TODO: add an `--only daemon` group for running non-ui / pikerd
# service tree in distributed mode B) # service tree in distributed mode B)
# https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies # https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies
# [project.optional-dependencies]
] ]
[dependency-groups] [dependency-groups]
# TODO: add a toolset that makes debugging a `pikerd` service # TODO: a toolset that makes debugging a `pikerd` service (tree) easy
# (tree) easy to hack on directly using more or less the local env: # to hack on directly using more or less the local env:
# - xonsh + xxh # - xonsh + xxh
# - rsyscall + pdbp # - rsyscall + pdbp
# - actor runtime control console like BEAM/OTP # - actor runtime control console like BEAM/OTP
#
# console ehancements and eventually remote debugging # console ehancements and eventually remote debugging extras/helpers.
# extras/helpers. # use `uv --dev` to enable
# use `--dev` to enable
dev = [ dev = [
"pytest >=6.0.0, <7.0.0", "pytest >=6.0.0, <7.0.0",
"elasticsearch >=8.9.0, <9.0.0", "elasticsearch >=8.9.0, <9.0.0",