Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/gitpython-3.1.37
Browse files Browse the repository at this point in the history
  • Loading branch information
calebtonn authored Oct 11, 2023
2 parents e193214 + ecfac07 commit 5d2af8f
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.9
- name: Set up Python 3.11
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- name: Set Up Project
run: |
Expand All @@ -48,11 +48,11 @@ jobs:
- name: Validate Branch name
run: ./scripts/get-current-branch.sh

- name: Set up Python 3.9
- name: Set up Python 3.11
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- name: Set Up Project
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ jobs:
ref: main
fetch-depth: 0

- name: Set up Python 3.9
- name: Set up Python 3.11
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- run: |
pip install poetry
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_secureli
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# A basic dockerfile for mimicking/testing ci commands
# docker build -t secureli . or poe docker-build

FROM python:3.9
FROM python:3.11
WORKDIR /app
COPY . /app
RUN cp /app/ca-certificates/*.crt /usr/local/share/ca-certificates | true && update-ca-certificates
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

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

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test = ["init", "lint", "coverage_run", "coverage_report"]
e2e = "bats tests/end-to-end/test.bats"

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.11"
typer = {version = ">=0.6.1,<0.10.0", extras = ["all"]}
pygments = "^2.13.0"
dependency-injector = {version = "^4.40.0", extras = ["yaml"]}
Expand All @@ -47,7 +47,7 @@ pytest-mock = "^3.10.0"
coverage = ">=6.5,<8.0"
black = ">=22.10,<24.0"
identify = "^2.5.7"
poethepoet = ">=0.16.4,<0.24.0"
poethepoet = ">=0.16.4,<0.25.0"
python-semantic-release = ">=8.0.0"

[build-system]
Expand Down
6 changes: 6 additions & 0 deletions secureli/repositories/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ class EchoLevel(str, Enum):
warn = "WARN"
error = "ERROR"

def __str__(self) -> str:
return self.value

def __repr__(self) -> str:
return self.__str__()


class EchoSettings(BaseSettings):
"""
Expand Down

0 comments on commit 5d2af8f

Please sign in to comment.