Skip to content

Commit

Permalink
chore: move version info to top level of root package and discard __a…
Browse files Browse the repository at this point in the history
…bout__.py
  • Loading branch information
aravinda0 committed Jun 13, 2024
1 parent 86afce3 commit f3163f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Source = "https://github.com/aravinda0/qtile-bonsai"


[tool.pdm]
version = { source = "file", path = "src/qtile_bonsai/__about__.py" }
version = { source = "file", path = "src/qtile_bonsai/__init__.py" }


[tool.pdm.dev-dependencies]
Expand Down Expand Up @@ -71,9 +71,7 @@ format_check = "ruff format --check {args}"
[tool.coverage.run]
branch = true
parallel = true
omit = [
"src/qtile_bonsai/__about__.py",
]
omit = []

[tool.coverage.report]
exclude_lines = [
Expand Down
4 changes: 0 additions & 4 deletions src/qtile_bonsai/__about__.py

This file was deleted.

4 changes: 3 additions & 1 deletion src/qtile_bonsai/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2023-present Aravinda Rao <maniacalace@gmail.com>
# SPDX-License-Identifier: MIT


from qtile_bonsai.layout import Bonsai # noqa: F401


__version__ = "0.1.0"

0 comments on commit f3163f7

Please sign in to comment.