Skip to content

Commit

Permalink
Python client release 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
therapon committed Apr 12, 2023
1 parent d986243 commit c7ae535
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions clients/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "kaskada"
version = "0.1.3"
version = "0.1.4"
description = "A client library for the Kaskada time travel machine learning service"
authors = ["Kaskada <[email protected]>"]
license = "Apache-2.0"
Expand All @@ -10,7 +10,7 @@ packages = [
{ include = "validate", from = "vendor" },
{ include = "fenlmagic", from = "src" },
]
include = [ "**/src/kaskada/kaskada/**/*.py"]
include = ["**/src/kaskada/kaskada/**/*.py"]

[tool.poetry.dependencies]
python = "^3.7.2"
Expand Down Expand Up @@ -45,9 +45,9 @@ autopep8 = "^2.0.1"
types-protobuf = "^4.21.0.5"

[tool.poe.tasks]
[tool.poe.tasks.clean]
help = "Remove generated files"
cmd = """
[tool.poe.tasks.clean]
help = "Remove generated files"
cmd = """
# multiline commands including comments work too!
rm -rf .coverage
.mypy_cache
Expand All @@ -61,53 +61,53 @@ types-protobuf = "^4.21.0.5"
./tests/temp
"""

[tool.poe.tasks.format-isort]
help = "Run import sort (isort) on the code base"
cmd = "isort src tests"
[tool.poe.tasks.format-isort]
help = "Run import sort (isort) on the code base"
cmd = "isort src tests"

[tool.poe.tasks.format-black]
help = "Run black on the code base"
cmd = "black src tests"
[tool.poe.tasks.format-black]
help = "Run black on the code base"
cmd = "black src tests"

[tool.poe.tasks.format]
help = "Run formating tools on the code base"
sequence = ["format-isort", "format-black"]
[tool.poe.tasks.format]
help = "Run formating tools on the code base"
sequence = ["format-isort", "format-black"]

[tool.poe.tasks.test]
help = "Run unit and feature tests"
cmd = "pytest --cov=src"
[tool.poe.tasks.test]
help = "Run unit and feature tests"
cmd = "pytest --cov=src"

[tool.poe.tasks.types-fenlmagic]
help = "Run the type checker for fenlmagic"
cmd = "mypy --ignore-missing-imports src/fenlmagic"
[tool.poe.tasks.types-fenlmagic]
help = "Run the type checker for fenlmagic"
cmd = "mypy --ignore-missing-imports src/fenlmagic"

[tool.poe.tasks.types-python]
help = "Run the type checker for python client"
cmd = "mypy --ignore-missing-imports src/kaskada"
[tool.poe.tasks.types-python]
help = "Run the type checker for python client"
cmd = "mypy --ignore-missing-imports src/kaskada"

[tool.poe.tasks.types]
help = "Run the type checker"
sequence = ["types-fenlmagic", "types-python"]
[tool.poe.tasks.types]
help = "Run the type checker"
sequence = ["types-fenlmagic", "types-python"]

[tool.poe.tasks.lint]
help = "Run the linter"
cmd = "pylint src --ignore-paths=src/kaskada/kaskada"
[tool.poe.tasks.lint]
help = "Run the linter"
cmd = "pylint src --ignore-paths=src/kaskada/kaskada"

[tool.poe.tasks.style-black]
help = "Validate black code style"
cmd = "black src --check --diff --target-version=py310"
[tool.poe.tasks.style-black]
help = "Validate black code style"
cmd = "black src --check --diff --target-version=py310"

[tool.poe.tasks.style-isort]
help = "Validate isort code style"
cmd = "isort src --check --diff"
[tool.poe.tasks.style-isort]
help = "Validate isort code style"
cmd = "isort src --check --diff"

[tool.poe.tasks.style]
help = "Validate code style"
sequence = ["style-isort", "style-black"]
[tool.poe.tasks.style]
help = "Validate code style"
sequence = ["style-isort", "style-black"]

[tool.poe.tasks.remove-imports-vars]
help = "Run to remove unused imports and variables"
cmd = "autoflake -r --in-place --remove-unused-variables src/"
[tool.poe.tasks.remove-imports-vars]
help = "Run to remove unused imports and variables"
cmd = "autoflake -r --in-place --remove-unused-variables src/"

[tool.isort]
profile = "black"
Expand Down

0 comments on commit c7ae535

Please sign in to comment.