Skip to content

Commit 631822b

Browse files
committed
Updates python, make cmd, readme
1 parent 5f94072 commit 631822b

5 files changed

Lines changed: 124 additions & 94 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.11", "3.12"]
15+
python-version: ["3.12", "3.13"]
1616

1717
steps:
1818
- uses: actions/checkout@v3

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,16 @@ lint:
1515
pipenv run isort --check --diff .
1616
pipenv run black --check --diff .
1717

18+
.PHONY: fl
19+
fl: fmt lint
20+
1821
.PHONY: run
1922
run:
2023
pipenv run python -m main
2124

2225
.PHONY: tests
2326
tests:
24-
pipenv run python -m pytest tests -rP
27+
pipenv run python -m pytest tests -rP
28+
29+
.PHONY: flt
30+
flt: fmt lint tests

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ pytest = "*"
1414
mypy = "*"
1515

1616
[requires]
17-
python_version = "3.11"
17+
python_version = "3.12"

Pipfile.lock

Lines changed: 98 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,20 @@ Use the template and modify the existing structure to suit your project needs.
1414

1515
## Updates
1616

17-
python3.11
18-
- Faster CPython
19-
- Enhanced Error Messages
20-
- Type Hints and Annotations, etc
17+
### python3.12
18+
19+
**Faster Python:**
20+
Improved performance via Faster CPython and Profile-Directed Optimization (PDO).
21+
22+
**New Features:**
23+
frozenmap: Immutable hashable mapping type.
24+
@typing.override: Marks method overrides explicitly.
25+
Better Typing: Direct use of NoneType in type hints.
26+
27+
**Improved Error Messages:**
28+
More helpful debugging information.
29+
30+
### Makefile
31+
32+
Add `make fl` for running format and lint.
33+
Add `make flt` for running format, lint and tests.

0 commit comments

Comments
 (0)