Skip to content

Commit

Permalink
chore: Constrain Python for poetry and update deptry
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Jan 10, 2025
1 parent ea00f44 commit c01e806
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:

- name: Deptry
run: poetry run deptry .
if: false # success() || failure()
if: success() || failure()
68 changes: 52 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "A module and CLI tool to help parse and draw keyboard layouts."
authors = [{name = "Cem Aksoylar", email = "[email protected]"}]
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
requires-python = ">=3.10,<4.0"
dependencies = [
"pydantic (>=2.0.0,<3.0.0)",
"pcpp (>=1.30,<2.0)",
Expand All @@ -17,7 +17,7 @@ dependencies = [
]

[project.optional-dependencies]
dev = ["mypy", "pylint", "black", "pylint-pydantic", "types-pyyaml", "deptry", "hjson"]
dev = ["mypy", "pylint", "black", "pylint-pydantic", "types-pyyaml", "deptry (>=0.22.0)", "hjson"]
lsp = ["python-lsp-server"]

[project.scripts]
Expand Down Expand Up @@ -58,3 +58,6 @@ line-length = 120
src_paths = ["keymap_drawer"]
profile = "black"
line_length = 120

[tool.deptry]
pep621_dev_dependency_groups = ["dev", "lsp"]

0 comments on commit c01e806

Please sign in to comment.