Skip to content

Commit

Permalink
chore: addressing pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Feb 10, 2025
1 parent 986964d commit 3067c1c
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test = { commands = [
], description = 'Run smart contract tests' }
audit = { commands = [
'poetry run pip-audit',
], description = 'Audit with pip-audit' }
], description = 'Audit with pip-audit. NOTE: If used with poetry >v2, make sure to install `poetry-plugin-export` as per /~https://github.com/python-poetry/poetry-plugin-export#installation.' }
lint = { commands = [
'poetry run black --check --diff .',
'poetry run ruff check .',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
algokit-utils = "^3.0.0b5"
algokit-utils = "^3.0.0b7"
python-dotenv = "^1.0.0"
algorand-python = "^2.0.0"
algorand-python-testing = "^0.4.0"
Expand All @@ -16,7 +16,7 @@ algorand-python-testing = "^0.4.0"
algokit-client-generator = "^2.0.0b4"
black = {extras = ["d"], version = "*"}
ruff = "^0.9.4"
mypy = "1.14.1"
mypy = "^1"
pytest = "*"
pytest-cov = "*"
pip-audit = "*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test = { commands = [
], description = 'Run smart contract tests using Jest' }
audit = { commands = [
'poetry run pip-audit',
], description = 'Audit with pip-audit' }
], description = 'Audit with pip-audit. NOTE: If used with poetry >v2, make sure to install `poetry-plugin-export` as per /~https://github.com/python-poetry/poetry-plugin-export#installation.' }
lint = { commands = [
'poetry run black --check --diff .',
'poetry run ruff check .',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
algokit-utils = "^3.0.0b5"
algokit-utils = "^3.0.0b7"
python-dotenv = "^1.0.0"
algorand-python = "^2.0.0"
algorand-python-testing = "^0.4.0"

[tool.poetry.group.dev.dependencies]
black = {extras = ["d"], version = "*"}
ruff = "^0.9.4"
mypy = "1.14.1"
mypy = "^1"
pip-audit = "*"
pre-commit = "*"
puyapy = "*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
algokit-utils = "^3.0.0b5"
algokit-utils = "^3.0.0b7"
python-dotenv = "^1.0.0"
algorand-python = "^2.0.0"
algorand-python-testing = "^0.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
algokit-utils = "^3.0.0b5"
algokit-utils = "^3.0.0b7"
python-dotenv = "^1.0.0"
algorand-python = "^2.0.0"
algorand-python-testing = "^0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/production_python/.algokit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test = { commands = [
], description = 'Run smart contract tests' }
audit = { commands = [
'poetry run pip-audit',
], description = 'Audit with pip-audit' }
], description = 'Audit with pip-audit. NOTE: If used with poetry >v2, make sure to install `poetry-plugin-export` as per /~https://github.com/python-poetry/poetry-plugin-export#installation.' }
lint = { commands = [
'poetry run black --check --diff .',
'poetry run ruff check .',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
4 changes: 2 additions & 2 deletions examples/production_python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
algokit-utils = "^3.0.0b5"
algokit-utils = "^3.0.0b7"
python-dotenv = "^1.0.0"
algorand-python = "^2.0.0"
algorand-python-testing = "^0.4.0"
Expand All @@ -16,7 +16,7 @@ algorand-python-testing = "^0.4.0"
algokit-client-generator = "^2.0.0b4"
black = {extras = ["d"], version = "*"}
ruff = "^0.9.4"
mypy = "1.14.1"
mypy = "^1"
pytest = "*"
pytest-cov = "*"
pip-audit = "*"
Expand Down
2 changes: 1 addition & 1 deletion examples/starter_python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
algokit-utils = "^3.0.0b5"
algokit-utils = "^3.0.0b7"
python-dotenv = "^1.0.0"
algorand-python = "^2.0.0"
algorand-python-testing = "^0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package-mode = false

[tool.poetry.dependencies]
python = "^3.12"
algokit-utils = "^3.0.0b5"
algokit-utils = "^3.0.0b7"
python-dotenv = "^1.0.0"

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion template_content/.algokit.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test = { commands = [
{%- if use_python_pip_audit %}
audit = { commands = [
'poetry run pip-audit',
], description = 'Audit with pip-audit' }
], description = 'Audit with pip-audit. NOTE: If used with poetry >v2, make sure to install `poetry-plugin-export` as per /~https://github.com/python-poetry/poetry-plugin-export#installation.' }
{%- endif %}
lint = { commands = [
{%- if use_python_black %}
Expand Down
4 changes: 2 additions & 2 deletions template_content/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
algokit-utils = "^3.0.0b5"
algokit-utils = "^3.0.0b7"
python-dotenv = "^1.0.0"
algorand-python = "^2.0.0"
algorand-python-testing = "^0.4.0"
Expand All @@ -25,7 +25,7 @@ ruff = "^0.9.4"
flake8 = "*"
{% endif -%}
{% if use_python_mypy -%}
mypy = "1.14.1"
mypy = "^1"
{% endif -%}
{% if use_python_pytest -%}
pytest = "*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down

0 comments on commit 3067c1c

Please sign in to comment.