Skip to content

Commit

Permalink
Merge pull request #5 from moneymeets/feature/MD-7033-upgrade-to-pyth…
Browse files Browse the repository at this point in the history
…on-3.12

Feature/md 7033 upgrade to python 3.12
  • Loading branch information
haidarCheaito authored Oct 24, 2023
2 parents c51ccc3 + acf9075 commit fe9fef2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 257 deletions.
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 <marcel.arns@moneymeets.com>"]

[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.

0 comments on commit fe9fef2

Please sign in to comment.