Skip to content

Commit

Permalink
Version 0.3.2 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn authored Mar 20, 2024
1 parent 35ac385 commit bba44f0
Show file tree
Hide file tree
Showing 9 changed files with 327 additions and 154 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Python ${{ env.MINIMUM_PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.MINIMUM_PYTHON_VERSION }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install pre-commit
run: |
python -m pip install --upgrade pip
Expand All @@ -35,11 +35,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox and any other packages
Expand All @@ -55,10 +55,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Python ${{ env.MINIMUM_PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.MINIMUM_PYTHON_VERSION }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Install Python ${{ env.MINIMUM_PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -33,10 +33,13 @@ jobs:
- name: Update Vendor Sources
run: poetry run python ./scripts/update_vendor.py

- name: Run black
run: poetry run black .

- name: Run pre-commit
run: pre-commit run -a
continue-on-error: true

- uses: stefanzweifel/git-auto-commit-action@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Automated vendor update
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-docstring-first
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.15.1
hooks:
- id: pyupgrade
language: python
args: [--py38-plus]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 23.1.0
rev: 24.3.0
hooks:
- id: black
language: python
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
language: python
Expand All @@ -35,7 +35,7 @@ repos:
- mccabe
- yesqa
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.0.0'
rev: 'v1.9.0'
hooks:
- id: mypy
additional_dependencies:
Expand Down
11 changes: 11 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# History

## 0.3.2 (2024-03-20)

- Automated domain updates
- Added support for Python 3.12

## 0.3.1 (2023-03-08)

- Automated domain updates
- Improved the import time
- Added support for Python 3.11

## 0.3.0 (2023-01-31)

- Automated domain updates
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyswot"
version = "0.3.1"
version = "0.3.2"
description = "Python wrapper for JetBrains/swot"
authors = ["James Meakin <[email protected]>"]
license = "Apache-2.0"
Expand All @@ -20,6 +20,7 @@ pytest-xdist = "*"
pytest-randomly = "*"
pytest-cov = "*"
chardet = "*"
black = "*"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand All @@ -46,14 +47,15 @@ addopts = "--strict-markers --showlocals -n auto --dist loadscope"
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py38, py39, py310, py311
envlist = py38, py39, py310, py311, py312
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
allowlist_externals = poetry
Expand Down
Loading

0 comments on commit bba44f0

Please sign in to comment.