-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from lemonsaurus/lemon/even_simpler_semantic_…
…versioning lemon/even simpler semantic versioning
- Loading branch information
Showing
7 changed files
with
78 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ jobs: | |
run: poe lint | ||
|
||
- name: Testing | ||
run: poe test | ||
run: poe tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from pathlib import Path | ||
from single_source import get_version | ||
|
||
__version__ = get_version(__name__, Path(__file__).parent.parent) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "blackbox-cli" | |
packages = [ | ||
{ include = "blackbox" } | ||
] | ||
version = "0" # This is not in use. The version is fetched from the most recent git tag. | ||
version = "2.1.5" | ||
description = "Tool for automatic backups of databases" | ||
authors = ["Leon Sandøy <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -31,31 +31,31 @@ jinja2 = "^2.11.2" | |
click = "^7.1.2" | ||
dropbox = "^11.0.0" | ||
pytelegrambotapi = "^3.7.7" | ||
pytest-testdox = "^2.0.1" | ||
single-source = "^0.2.0" | ||
stone = "^3.2.1" | ||
|
||
[tool.poetry.dev-dependencies] | ||
flake8 = "^3.9.0" | ||
flake8-isort = "^4.0.0" | ||
pytest = "*" | ||
pytest-cov = "^2.11.1" | ||
pytest-mock = "^3.5.1" | ||
flake8 = "^3.9.0" | ||
flake8-isort = "^4.0.0" | ||
pytest-subprocess = "^1.0.1" | ||
pytest-testdox = "^2.0.1" | ||
poethepoet = "^0.10.0" | ||
requests-mock = "^1.8.0" | ||
win32-setctime = "^1.0.3" | ||
poethepoet = "^0.10.0" | ||
|
||
[tool.poetry-version-plugin] | ||
source = "git-tag" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.1.0"] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry.scripts] | ||
blackbox = "blackbox.cli:cli" | ||
|
||
# Use 'poetry run poe <taskname>' to run these. | ||
[tool.poe.tasks] | ||
test = "pytest --cov blackbox -vv --cov-report=term-missing ." | ||
tests = "pytest --cov blackbox -vv --cov-report=term-missing ." | ||
lint = "flake8 ." | ||
isort = "isort ." | ||
html = "pytest --cov blackbox --cov-report=html ." |