Skip to content

Commit

Permalink
Add skeleton cli command
Browse files Browse the repository at this point in the history
  • Loading branch information
dorukozturk committed Dec 10, 2022
1 parent b6daaf8 commit 40c88a6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: stable
rev: 22.10.0
hooks:
- id: black
language_version: python3.10
Expand Down
9 changes: 9 additions & 0 deletions hardeneks/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import typer


app = typer.Typer()


@app.command()
def run_hardeneks():
pass
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ kubernetes = "^25.3.0"
boto3 = "^1.26.2"
pre-commit = "^2.20.0"



[tool.poetry.group.test.dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
pytest-datadir = "^1.4.1"

[tool.poetry.scripts]
hardeneks = "hardeneks:app"

[tool.commitizen]
name = "cz_conventional_commits"
version = "0.0.1"
tag_format = "$version"

[tool.black]
line-length = 79
include = '\.pyi?$'
Expand All @@ -39,6 +41,7 @@ exclude = '''
| dist
)/
'''

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit 40c88a6

Please sign in to comment.