-
Notifications
You must be signed in to change notification settings - Fork 0
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
6 changed files
with
665 additions
and
30 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- name: Install uv | ||
run: | | ||
curl -LsSf https://astral.sh/uv/install.sh | sh | ||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- name: Install dependencies | ||
run: | | ||
uv pip install -r requirements.txt | ||
- name: Run pre-commit | ||
run: | | ||
uv pip install pre-commit | ||
pre-commit run --all-files |
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
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,34 +1,63 @@ | ||
[tool.poetry] | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "cased" | ||
version = "0.1.0" | ||
description = "A CLI tool for managing deployments and branches" | ||
authors = ["Cased <[email protected]>"] | ||
readme = "README.md" | ||
repository = "https://github.com/cased/cli" | ||
packages = [{include = "cased"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
click = "*" | ||
requests = "*" | ||
rich = "*" | ||
questionary = "*" | ||
python-dateutil = "*" | ||
pyyaml = "^6.0.2" | ||
inquirer = "^3.4.0" | ||
jinja2 = "^3.1.4" | ||
description = "A CLI tool for managing cloud infrastructure" | ||
requires-python = ">=3.12" | ||
dependencies = [ | ||
"ansicon==1.89.0", | ||
"blessed==1.20.0", | ||
"certifi==2024.8.30", | ||
"cfgv==3.4.0", | ||
"charset-normalizer==3.3.2", | ||
"click==8.1.7", | ||
"colorama==0.4.6", | ||
"commonmark==0.9.1", | ||
"distlib==0.3.8", | ||
"editor==1.6.6", | ||
"filelock==3.16.1", | ||
"identify==2.6.1", | ||
"idna==3.10", | ||
"inquirer==3.4.0", | ||
"isort==5.13.2", | ||
"jinja2==3.1.4", | ||
"jinxed==1.3.0", | ||
"markupsafe==2.1.5", | ||
"nodeenv==1.9.1", | ||
"platformdirs==4.3.6", | ||
"pre-commit==3.8.0", | ||
"prompt-toolkit==3.0.36", | ||
"pygments==2.18.0", | ||
"python-dateutil==2.9.0.post0", | ||
"pyyaml==6.0.2", | ||
"questionary==2.0.1", | ||
"readchar==4.2.0", | ||
"requests==2.32.3", | ||
"rich==12.6.0", | ||
"ruff==0.6.8", | ||
"runs==1.2.2", | ||
"six==1.16.0", | ||
"urllib3==2.2.3", | ||
"virtualenv==20.26.6", | ||
"wcwidth==0.2.13", | ||
"xmod==1.8.1", | ||
] | ||
|
||
[tool.poetry.scripts] | ||
cased = "cased.cli:cli" | ||
[project.scripts] | ||
cased = "cased.cli:main" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pre-commit = "^3.8.0" | ||
ruff = "^0.6.2" | ||
isort = "^5.13.2" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
[tool.ruff] | ||
line-length = 88 | ||
target-version = "py312" | ||
|
||
[tool.poetry.urls] | ||
"Homepage" = "https://github.com/cased/csd" | ||
[tool.ruff.lint] | ||
select = [ | ||
"E", # pycodestyle errors | ||
"W", # pycodestyle warnings | ||
"F", # pyflakes | ||
"I", # isort | ||
"B", # flake8-bugbear | ||
] |
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,36 @@ | ||
ansicon==1.89.0 | ||
blessed==1.20.0 | ||
certifi==2024.8.30 | ||
cfgv==3.4.0 | ||
charset-normalizer==3.3.2 | ||
click==8.1.7 | ||
colorama==0.4.6 | ||
commonmark==0.9.1 | ||
distlib==0.3.8 | ||
editor==1.6.6 | ||
filelock==3.16.1 | ||
identify==2.6.1 | ||
idna==3.10 | ||
inquirer==3.4.0 | ||
isort==5.13.2 | ||
jinja2==3.1.4 | ||
jinxed==1.3.0 | ||
markupsafe==2.1.5 | ||
nodeenv==1.9.1 | ||
platformdirs==4.3.6 | ||
pre-commit==3.8.0 | ||
prompt-toolkit==3.0.36 | ||
pygments==2.18.0 | ||
python-dateutil==2.9.0.post0 | ||
pyyaml==6.0.2 | ||
questionary==2.0.1 | ||
readchar==4.2.0 | ||
requests==2.32.3 | ||
rich==12.6.0 | ||
ruff==0.6.8 | ||
runs==1.2.2 | ||
six==1.16.0 | ||
urllib3==2.2.3 | ||
virtualenv==20.26.6 | ||
wcwidth==0.2.13 | ||
xmod==1.8.1 |
Oops, something went wrong.