Skip to content

Commit c47d889

Browse files
authored
chore: release of 0.7.0
Merge pull request #67 from Logic-py/develop
2 parents 7a73203 + 658d69c commit c47d889

File tree

9 files changed

+102
-105
lines changed

9 files changed

+102
-105
lines changed

.github/actions/code-quality/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: 'Code Quality Checks'
2-
description: 'Runs formatting, linting, and type checking'
1+
name: "Code Quality Checks"
2+
description: "Runs formatting, linting, and type checking"
33

44
inputs:
55
check-type:
6-
description: 'Type of check to run (format, lint, or type-check)'
6+
description: "Type of check to run (format, lint, or type-check)"
77
required: true
88
source-dir:
9-
description: 'Source directory to check'
9+
description: "Source directory to check"
1010
required: false
11-
default: 'src/'
11+
default: "src/"
1212

1313
runs:
1414
using: "composite"

.github/actions/setup-env/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: 'Setup Environment'
2-
description: 'Sets up Python, Poetry, and dependencies with caching'
1+
name: "Setup Environment"
2+
description: "Sets up Python, Poetry, and dependencies with caching"
33

44
inputs:
55
python-version:
6-
description: 'Python version to use'
6+
description: "Python version to use"
77
required: false
8-
default: '3.12'
8+
default: "3.12"
99
cache-key-suffix:
10-
description: 'Additional suffix for cache key'
10+
description: "Additional suffix for cache key"
1111
required: false
12-
default: ''
12+
default: ""
1313

1414
runs:
1515
using: "composite"

.github/workflows/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: 'Shared Configuration'
1+
name: "Shared Configuration"
22

33
on:
44
workflow_call:
55
outputs:
66
python-version:
77
description: "Python version to use"
8-
value: '3.12'
8+
value: "3.12"
99
poetry-cache-path:
1010
description: "Poetry cache paths"
1111
value: |
1212
~/.cache/pypoetry
1313
~/.poetry
1414
source-dir:
1515
description: "Source directory to check"
16-
value: 'src/'
16+
value: "src/"
1717

1818
jobs:
1919
config:
2020
runs-on: ubuntu-latest
2121
outputs:
22-
python-version: '3.12'
22+
python-version: "3.12"
2323
poetry-cache-path: |
2424
~/.cache/pypoetry
2525
~/.poetry
26-
source-dir: 'src/'
26+
source-dir: "src/"
2727
steps:
2828
- run: echo "Shared configuration loaded"

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: 'CI and Release'
1+
name: "CI and Release"
22

33
on:
44
push:
55
branches:
6-
- '*'
6+
- "*"
77
pull_request:
88

99
jobs:
@@ -29,11 +29,11 @@ jobs:
2929
python-version: ${{ needs.config.outputs.python-version }}
3030
- uses: ./.github/actions/code-quality
3131
with:
32-
check-type: 'format'
32+
check-type: "format"
3333
source-dir: ${{ needs.config.outputs.source-dir }}
3434

3535
lint:
36-
needs: [ config, format ]
36+
needs: [ config, setup ]
3737
runs-on: ubuntu-latest
3838
steps:
3939
- uses: actions/checkout@v4
@@ -42,11 +42,11 @@ jobs:
4242
python-version: ${{ needs.config.outputs.python-version }}
4343
- uses: ./.github/actions/code-quality
4444
with:
45-
check-type: 'lint'
45+
check-type: "lint"
4646
source-dir: ${{ needs.config.outputs.source-dir }}
4747

4848
type-check:
49-
needs: [ config, format ]
49+
needs: [ config, setup ]
5050
runs-on: ubuntu-latest
5151
steps:
5252
- uses: actions/checkout@v4
@@ -55,7 +55,7 @@ jobs:
5555
python-version: ${{ needs.config.outputs.python-version }}
5656
- uses: ./.github/actions/code-quality
5757
with:
58-
check-type: 'type-check'
58+
check-type: "type-check"
5959
source-dir: ${{ needs.config.outputs.source-dir }}
6060

6161
test:

.pre-commit-config.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
5-
rev: v9.18.0
5+
rev: v9.20.0
66
hooks:
77
- id: commitlint
88
stages: [ commit-msg ]
@@ -14,15 +14,13 @@ repos:
1414
entry: poetry run ruff format
1515
language: python
1616
types_or: [ python, pyi, jupyter ]
17-
args: [ "--config", "pyproject.toml", "src/" ]
1817
pass_filenames: true
1918

2019
- id: ruff-lint
2120
name: Linting
2221
entry: poetry run ruff check
2322
language: python
2423
types_or: [ python, pyi, jupyter ]
25-
args: [ "--config", "pyproject.toml", "src/" ]
2624
pass_filenames: true
2725
exclude: tests
2826

@@ -31,5 +29,4 @@ repos:
3129
entry: poetry run mypy
3230
language: python
3331
types_or: [ python, pyi, jupyter ]
34-
args: [ "--config", "pyproject.toml", "src/" ]
3532
pass_filenames: true

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12.7
1+
3.12.8

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Follow these steps to get started with this template:
3939
```bash
4040
pip install poetry
4141
```
42-
> **Note:** This template is set up using Poetry version 1.8.3.
42+
> **Note:** This template is set up using Poetry version 1.8.5.
4343
4444
3. **Install dependencies:**
4545

@@ -76,13 +76,13 @@ This project includes the following dependencies:
7676

7777
- **Core Dependencies**:
7878
- `python`: ^3.12 (switch the `.python-version` file to your liking)
79-
- `loguru`: ^0.7.2 (useful logging package)
79+
- `loguru`: ^0.7.3 (useful logging package)
8080

8181
- **Development Dependencies**:
82-
- `ruff`: ^0.6.9 (for code linting and formatting)
83-
- `mypy`: ^1.11.2 (for type checking)
84-
- `pre-commit`: ^4.0.0 (for managing Git hooks)
85-
- `pytest`: ^7.2.0 (for unit testing)
82+
- `ruff`: ^0.8.x (for code linting and formatting)
83+
- `mypy`: ^1.x.y (for type checking)
84+
- `pre-commit`: ^4.x.y (for managing Git hooks)
85+
- `pytest`: ^8.x.y (for unit testing)
8686

8787
### Optional: Pyenv
8888

@@ -104,7 +104,7 @@ pyenv install --list
104104
Download & install a specific Python version:
105105

106106
```bash
107-
pyenv install 3.12.7
107+
pyenv install 3.12.8
108108
```
109109

110110
List the global Python version set by your system:
@@ -122,13 +122,13 @@ pyenv local
122122
Set the global Python version for your system:
123123

124124
```bash
125-
pyenv global 3.12.7
125+
pyenv global 3.12.8
126126
```
127127

128128
Set the local Python version for your project:
129129

130130
```bash
131-
pyenv local 3.12.7
131+
pyenv local 3.12.8
132132
```
133133

134134
Feel free to utilize Pyenv and modify the `.python-version` file to your preference.

0 commit comments

Comments
 (0)