-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
41 additions
and
41 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
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" | ||
|
@@ -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" | ||
|
@@ -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 | ||
|
@@ -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" | ||
|