Skip to content

Commit

Permalink
🚀 RELEASE: v0.1.3 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing authored Dec 16, 2024
1 parent fe26ab1 commit bbcf9ed
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 29 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.7
- uses: pre-commit/action@v2.0.0
python-version: 3.9
- uses: pre-commit/action@v3.0.1

tests:
runs-on: ${{ matrix.os }}
Expand All @@ -28,10 +28,10 @@ jobs:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -46,22 +46,23 @@ jobs:
run: |
pytest --cov=mdformat_deflist --cov-report=xml --cov-report=term-missing
- name: Upload to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
uses: codecov/codecov-action@v1
with:
name: pytests-py3.7
flags: pytests
file: ./coverage.xml
fail_ci_if_error: true
# FYI: credentials are not configured. Turned off for now
# - name: Upload to Codecov
# if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
# uses: codecov/codecov-action@v1
# with:
# name: pytests-py3.7
# flags: pytests
# file: ./coverage.xml
# fail_ci_if_error: true

pre-commit-hook:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.7

Expand All @@ -81,9 +82,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: install flit
Expand Down
20 changes: 10 additions & 10 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.3.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- id: check-yaml
- id: check-toml
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 # frozen: v1.10.0
hooks:
- id: python-check-blanket-noqa
- repo: https://github.com/timothycrosley/isort
rev: 5.10.1
- repo: https://github.com/PyCQA/isort
rev: c235f5e450b4b84e58d114ed4c589cbf454175a3 # frozen: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.8.0
rev: 1b2427a2b785cc4aac97c19bb4b9a0de063f9547 # frozen: 24.10.0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/PyCQA/flake8
rev: e43806be3607110919eff72939fda031776e885a # frozen: 7.1.1
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==21.3.2
- flake8-builtins==1.5.3
- flake8-comprehensions==3.4.0
- flake8-bugbear
- flake8-builtins
- flake8-comprehensions
2 changes: 1 addition & 1 deletion mdformat_deflist/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""An mdformat plugin for markdown-it-deflist."""

__version__ = "0.1.2"
__version__ = "0.1.3"

from .plugin import POSTPROCESSORS, RENDERERS, update_mdit # noqa: F401

0 comments on commit bbcf9ed

Please sign in to comment.