Skip to content

Commit 410326f

Browse files
committed
Bump version: 0.2.7 → 0.2.8
Had to squash them because I forgot to update setup.cfg fully: Remove MacOS CI/CD, Add Python3.12 support, Update README The MacOS runner seems to be broken
1 parent 2d72ced commit 410326f

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed

.github/workflows/python-package-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
os: [ubuntu-latest]
26-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
26+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
2727

2828

2929
steps:

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
os: [ubuntu-latest, macos-11]
31-
python-version: ["3.8", "3.9", "3.10", "3.11"]
30+
os: [ubuntu-latest] # , macos-11]
31+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3232

3333

3434
steps:

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ It's just for convenience.
1919

2020
## Installation
2121

22-
Requires Python3.8+ (3.9, 3.10, 3.11)
22+
Requires Python3.8+ (3.9, 3.10, 3.11, 3.12)
2323

2424
### From PyPI
2525

26-
```console
26+
```sh
2727
pip3 install c-formatter-42
2828
pip3 install --user c-formatter-42 # If you don't have root privileges
2929
```
3030

3131
### From source
3232

33-
```console
33+
```sh
3434
git clone https://github.com/cacharle/c_formatter_42
3535
cd c_formatter_42
3636
pip3 install -e .
@@ -40,7 +40,7 @@ pip3 install -e .
4040

4141
### Command line
4242

43-
```console
43+
```sh
4444
c_formatter_42 < file.c
4545
python3 -m c_formatter_42 < file.c # If you get 'command not found' with the previous one
4646

@@ -83,15 +83,15 @@ Feel free to report issues or contribute. :)
8383
8484
### Run the tests
8585
86-
```
86+
```sh
8787
pip3 install tox
8888
tox
8989
tox -e py311 # for a specific python version
9090
```
9191
9292
### Deploy a new version
9393
94-
```
94+
```sh
9595
pip3 install bumpversion
9696
bumpversion [major|minor|patch]
9797
git push

c_formatter_42/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.7"
1+
__version__ = "0.2.8"

setup.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.2.7
2+
current_version = 0.2.8
33
tag = true
44
commit = true
55

@@ -10,7 +10,7 @@ parse = __version__ = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
1010

1111
[metadata]
1212
name = c_formatter_42
13-
version = 0.2.7
13+
version = 0.2.8
1414
description = formatting tool complient with 42 school's norm
1515
long_description = file: README.md
1616
long_description_content_type = text/markdown
@@ -23,6 +23,7 @@ classifiers =
2323
Programming Language :: Python :: 3.9
2424
Programming Language :: Python :: 3.10
2525
Programming Language :: Python :: 3.11
26+
Programming Language :: Python :: 3.12
2627
Programming Language :: C
2728
Intended Audience :: Developers
2829
Environment :: Console

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = python3.8,python3.9,python3.10,python3.11
2+
envlist = python3.8,python3.9,python3.10,python3.11,python3.12
33
distshare = {env:XDG_CACHE_HOME}/tox/distshare
44

55
[testenv]

0 commit comments

Comments
 (0)