Skip to content

Commit

Permalink
chore: update project structure to 099bd9f9
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-git committed Mar 14, 2024
1 parent 5dd794d commit f7cb0ff
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/woltapp/wolt-python-package-cookiecutter",
"commit": "4eecc9c4d27e3c9321438bc1fdaf717bec5eadf6",
"commit": "099bd9f93b6412d064ff4bb6be40165e1620ed7b",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/python-poetry-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
python-version:
required: false
description: 'Python version'
default: '3.10'
default: '3.12'
outputs: {}
runs:
using: 'composite'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cookiecutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: "3.12"

- name: Install dependencies
run: python -m pip install cruft poetry jello tabulate
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/test.yml.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff a/.github/workflows/test.yml b/.github/workflows/test.yml (rejected hunks)
@@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.7", "3.8", "3.9", "3.10"]
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/python-poetry-env
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The `least_duration` algorithm walks the list of tests and assigns each test to
* Clone this repository
* Requirements:
* [Poetry](https://python-poetry.org/)
* Python 3.7+
* Python 3.8+
* Create a virtual environment and install the dependencies

```sh
Expand Down
13 changes: 12 additions & 1 deletion poetry.lock

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

32 changes: 32 additions & 0 deletions pyproject.toml.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
diff a/pyproject.toml b/pyproject.toml (rejected hunks)
@@ -18,9 +18,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
@@ -30,7 +32,7 @@ packages = [
]

[tool.poetry.dependencies]
-python = ">=3.7.1, <4.0"
+python = ">=3.8.1, <4.0"

[tool.poetry.dev-dependencies]
autoflake = "*"
@@ -65,7 +67,7 @@ profile = "black"
src_paths = ["src", "tests"]

[tool.black]
-target-version = ["py37", "py38", "py39"]
+target-version = ["py38", "py39", "py310", "py311", "py312"]
include = '\.pyi?$'

[tool.pytest.ini_options]

0 comments on commit f7cb0ff

Please sign in to comment.