Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
23e2798
build: bring pyproject.toml up to current standards
davidlday Jul 22, 2025
e96611e
ci: implement full ci workflow
davidlday Jul 22, 2025
af013a4
ci: implement full release workflow
davidlday Jul 22, 2025
0518ac8
ci: implement full publish workflow
davidlday Jul 22, 2025
d44c063
build(deps): general dependency updates
davidlday Jul 22, 2025
d27f004
ci: add mypy dev dependency
davidlday Jul 22, 2025
c503106
ci: add bandit dev dependency
davidlday Jul 22, 2025
4d31515
build: bump pylint from 2.15.8 to 3.3.7
davidlday Jul 22, 2025
a553767
build: bump pytest from 7.2.0 to 8.4.1
davidlday Jul 22, 2025
0e9bb8e
build: remove pylint overrides
davidlday Jul 22, 2025
b91e865
fix(deps): bump narrative from 1.2.0 to 1.2.1
davidlday Jul 23, 2025
f323533
fix(deps): bump click from 8.1.8 to 8.2.1
davidlday Jul 23, 2025
c3b31a5
build: add type hints to Word
davidlday Jul 25, 2025
72049d2
feat: add type hints to Fragment
davidlday Jul 25, 2025
11e8676
feat: add type hints to FragementCotnainer
davidlday Jul 25, 2025
49d2125
feat: add type hints to Sentence
davidlday Jul 25, 2025
de16960
feat: add type hints to Paragraph
davidlday Jul 25, 2025
4e25df6
feat: add type hints to Prose
davidlday Jul 25, 2025
8974765
feat: add type hints to ReadabilityScores
davidlday Jul 25, 2025
fe0b573
feat: add type hints to cli
davidlday Jul 25, 2025
65d015f
build: pylint ignore similarities
davidlday Jul 25, 2025
f643f33
feat: add type marker
davidlday Jul 25, 2025
e6cffd4
fix: capitalize constants
davidlday Jul 25, 2025
81e3d55
feat: add type hints to Word
davidlday Jul 25, 2025
9476c28
feat: add type hints to Fragment
davidlday Jul 25, 2025
f37e08b
feat: add type hints to FragementCotnainer
davidlday Jul 25, 2025
374b48b
feat: add type hints to Sentence
davidlday Jul 25, 2025
0a2e5c5
feat: add type hints to Paragraph
davidlday Jul 25, 2025
38ade5f
feat: add type hints to Prose
davidlday Jul 25, 2025
b8f85ee
feat: add type hints to ReadabilityScores
davidlday Jul 25, 2025
b9b8b37
feat: add type hints to cli
davidlday Jul 25, 2025
7e68d14
build: pylint ignore similarities
davidlday Jul 25, 2025
242f5e8
feat: add type marker
davidlday Jul 25, 2025
4a211cc
fix: capitalize constants
davidlday Jul 25, 2025
1be7f73
Merge branch 'feat/types' of github.com:prosegrinder/python-prosegrin…
davidlday Jul 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
name: Publish to PyPi

permissions:
contents: read

on:
push:
tags:
- "v*"

jobs:
lint:
uses: prosegrinder/.github/.github/workflows/poetry-lint.yaml@main
black:
uses: prosegrinder/.github/.github/workflows/poetry-black.yaml@main

pylint:
uses: prosegrinder/.github/.github/workflows/poetry-pylint.yaml@main

mypy:
uses: prosegrinder/.github/.github/workflows/poetry-mypy.yaml@main

bandit:
uses: prosegrinder/.github/.github/workflows/poetry-bandit.yaml@main

test:
needs: lint
needs:
- pylint
- black
- mypy
- bandit
uses: prosegrinder/.github/.github/workflows/poetry-test.yaml@main

publish:
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Python Poetry CI

permissions:
contents: read

on:
pull_request:

Expand All @@ -8,11 +11,24 @@ concurrency:
cancel-in-progress: true

jobs:
lint:
uses: prosegrinder/.github/.github/workflows/poetry-lint.yaml@main
black:
uses: prosegrinder/.github/.github/workflows/poetry-black.yaml@main

pylint:
uses: prosegrinder/.github/.github/workflows/poetry-pylint.yaml@main

mypy:
uses: prosegrinder/.github/.github/workflows/poetry-mypy.yaml@main

bandit:
uses: prosegrinder/.github/.github/workflows/poetry-bandit.yaml@main

test:
needs: lint
needs:
- pylint
- black
- mypy
- bandit
uses: prosegrinder/.github/.github/workflows/poetry-test.yaml@main

cz-dry-run:
Expand Down
28 changes: 27 additions & 1 deletion .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,40 @@
name: Bump Version and Create Release

permissions:
contents: read

on:
push:
branches:
- main

jobs:
black:
uses: prosegrinder/.github/.github/workflows/poetry-black.yaml@main

pylint:
uses: prosegrinder/.github/.github/workflows/poetry-pylint.yaml@main

mypy:
uses: prosegrinder/.github/.github/workflows/poetry-mypy.yaml@main

bandit:
uses: prosegrinder/.github/.github/workflows/poetry-bandit.yaml@main

test:
needs:
- pylint
- black
- mypy
- bandit
uses: prosegrinder/.github/.github/workflows/poetry-test.yaml@main

release:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
needs: test
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') }}
# Don't run 'bump:'
permissions:
contents: write
uses: prosegrinder/.github/.github/workflows/poetry-release.yaml@main
secrets:
VERSION_BUMP_TAG_TOKEN: "${{ secrets.VERSION_BUMP_TAG_TOKEN }}"
Loading
Loading