Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/md 7033 upgrade to python 3.12 #5

Merged
merged 2 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
253 changes: 23 additions & 230 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 2 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,17 @@ description = ""
authors = ["Marcel Arns <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
python = "~3.12"

dataclasses-json = "*"
pyyaml = "*"

[tool.poetry.dev-dependencies]
add-trailing-comma = "*"
black = "*"
flake8 = "*"
flake8-black = "*"
flake8-isort = "*"
flake8-quotes = "*"
flake8-coding = "*"
isort = { extras = ["pyproject"], version = "*" }
ruff = "*"

pytest = "*"
pytest-cov = "*"

[tool.black]
line-length = 120
target-version = ["py311"]

[tool.isort]
profile = "black"
line_length = 120

[tool.coverage.run]
branch = true
source = ["."]
Expand Down
3 changes: 1 addition & 2 deletions s3_artifact/action.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import os
import subprocess
from dataclasses import dataclass
from distutils.util import strtobool
from pathlib import Path
from typing import Optional, Sequence

Expand Down Expand Up @@ -94,7 +93,7 @@ def main():
case _:
raise NotImplementedError(f"Unknown command - {cmd}")

_run_commands(commands, bool(strtobool(os.environ.get("DRY_RUN", "false"))))
_run_commands(commands, os.environ.get("DRY_RUN", "false").lower() in ("y", "yes", "t", "true", "on", "1"))


if __name__ == "__main__":
Expand Down
8 changes: 0 additions & 8 deletions setup.cfg

This file was deleted.