Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update, general cleanup and overall improvements #35

Open
wants to merge 88 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
d506024
updated to python 3, refactored code, added typehints
Apr 24, 2022
8a6cb18
removed test file
Apr 24, 2022
5a32898
updated to python 3, using beartype, overal cleanup and improvement.
May 1, 2022
cb7ef0c
added look arounds
May 2, 2022
0bd8d37
update readme
May 2, 2022
963c7b1
Create main.yml
rbroderi May 5, 2022
7234a88
fix missing typealias for python 3.8:
May 5, 2022
552c1d5
Merge branch 'master' of https://github.com/rbroderi/PythonVerbalExpr…
May 5, 2022
fa247a0
condense python version dependent imports
May 5, 2022
c74049a
condense python version dependent imports
May 5, 2022
c639670
Update main.yml
rbroderi May 5, 2022
1f461e5
Update main.yml
rbroderi May 5, 2022
d38fe3c
condense python version dependent imports
May 5, 2022
6e6163f
Merge branch 'master' of https://github.com/rbroderi/PythonVerbalExpr…
May 5, 2022
6f8f1c5
adding github actions badge
May 5, 2022
9f4a8e4
updated readme
May 5, 2022
09a59fc
Create GPL_LICENSE.txt
rbroderi May 8, 2022
8c8e673
change name and structure as fork
May 8, 2022
628509b
update name in init.py
May 8, 2022
eb3ce53
update name in init.py
May 8, 2022
d48c248
Update README.md
rbroderi May 8, 2022
ada781c
update setup.py
May 8, 2022
ccde2ac
Merge branch 'master' of https://github.com/rbroderi/PythonVerbalExpr…
May 8, 2022
9ddf7a8
update version to 1.0.1
May 8, 2022
ec5231f
push to pypi.org
May 8, 2022
2950a58
update setup.py python versions
May 8, 2022
b0f29e2
updated travis.yml with python versions
May 8, 2022
1298138
updated manifest.in
May 8, 2022
38360d2
added documentation
May 8, 2022
b150014
switch to pdoc from pdoc3
May 8, 2022
15b1fca
Set theme jekyll-theme-cayman
rbroderi May 8, 2022
3e71c04
Delete docs directory
rbroderi May 8, 2022
03f293e
add github pages
May 8, 2022
b7d2533
update readme
May 8, 2022
4bdd63a
update readme
May 8, 2022
66778e4
remove travis.yaml dependency
May 8, 2022
c9f4e51
remove travis.yaml dependency
May 8, 2022
7fd6e73
switch config around, using setup.cfg and, tox
May 8, 2022
ab9b9ac
adde pre-commit hooks and pyproject.toml
May 8, 2022
27383e4
adde pre-commit hooks and pyproject.toml
May 8, 2022
0befb31
fix gha
May 8, 2022
aa1811b
fix gha
May 8, 2022
a971431
fix gha
May 8, 2022
3e53366
fix gha
May 8, 2022
c3ee46d
fix gha
May 8, 2022
7d6f3e7
use poseur for older python versions
May 8, 2022
b576312
use poseur for older python versions
May 8, 2022
fed6933
use poseur for older python versions
May 8, 2022
d28af7a
use beartype protocol instead
May 8, 2022
013d258
use beartype protocol instead
May 8, 2022
5d8a468
us typing-extensions protocol if not in typing
May 8, 2022
f69a8f4
use runtime checkable from typing-extensions for version 3.7
May 8, 2022
395b2b6
push to pypi.org
May 8, 2022
82d2355
added auto doc generate pre-commit hook
May 8, 2022
2af09a0
added auto doc generate pre-commit hook
May 8, 2022
cb25f04
added auto doc generate pre-commit hook
May 8, 2022
f7efcf5
added auto doc generate pre-commit hook
May 8, 2022
38c6068
added auto doc generate pre-commit hook
May 8, 2022
f1d1caf
use importlib_metadata for python 3.7
May 8, 2022
a04e3ce
Update README.md
rbroderi May 8, 2022
8bcc875
Update README.md
rbroderi May 8, 2022
cc9a299
Update README.md
rbroderi May 9, 2022
161b921
Update README.md
rbroderi May 9, 2022
10145fd
Update README.md
rbroderi May 9, 2022
fa07e9c
add pycln
May 12, 2022
e55e48e
updated pre-commit tests
May 12, 2022
7f5b797
cleanup and move to new dev enviroment. Drop support for python versi…
Apr 28, 2024
1ce407a
cleanup and move to new dev enviroment. Drop support for python versi…
Apr 28, 2024
ff1d5a1
update readme
Apr 28, 2024
c898467
Update README.md
rbroderi Apr 28, 2024
9436a14
Update README.md
rbroderi Apr 28, 2024
3433381
Update gh_pages.yaml
rbroderi Apr 28, 2024
d40c1ee
update pypi workflow to publish
Apr 28, 2024
18c63ac
bump version
Apr 28, 2024
b8c4fca
add classifiers
Apr 28, 2024
75e672f
Rename LICENSE.txt to LICENSE
rbroderi Apr 28, 2024
df0e0e3
Update README.md
rbroderi Apr 28, 2024
40b0bba
Update LICENSE
rbroderi Apr 28, 2024
209b469
Update README.md
rbroderi Apr 28, 2024
429f9b6
Update README.md
rbroderi Apr 28, 2024
a71bedc
Update README.md
rbroderi Apr 28, 2024
214583f
Update README.md
rbroderi Apr 28, 2024
f2088f9
Update README.md
rbroderi Apr 28, 2024
1cf8876
Update README.md
rbroderi Apr 28, 2024
ff4b462
Update README.md
rbroderi Apr 28, 2024
90e4d49
Update README.md
rbroderi Apr 28, 2024
c0d2172
Update README.md
rbroderi Apr 28, 2024
63f2027
Update README.md
rbroderi Apr 28, 2024
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
stringdatadeque/_version.py export-subst
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
24 changes: 24 additions & 0 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Black Formatting

"on":
push:
pull_request:

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version-file: .python-version
cache: 'pip'

- uses: taiki-e/install-action@just

- name: Install Dependencies
run: just install

- name: Test Formatting
run: just ruff_format_fixes
24 changes: 24 additions & 0 deletions .github/workflows/dapperdata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Configuration File Formatting

"on":
push:
pull_request:

jobs:
dapperdata:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version-file: .python-version
cache: 'pip'

- uses: taiki-e/install-action@just

- name: Install Dependencies
run: just install

- name: Test Formatting
run: just dapperdata_check
18 changes: 18 additions & 0 deletions .github/workflows/gh_pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy Sphinx documentation to Pages

"on":
push:
branches: [master] # branch to trigger deployment

jobs:
pages:
runs-on: ubuntu-20.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- id: deployment
uses: sphinx-notes/pages@v3
24 changes: 24 additions & 0 deletions .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Mypy testing

"on":
push:
pull_request:

jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version-file: .python-version
cache: 'pip'

- uses: taiki-e/install-action@just

- name: Install Dependencies
run: just install

- name: Test Typing
run: just mypy
23 changes: 23 additions & 0 deletions .github/workflows/pip-audit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pip-Audit

"on":
push:
pull_request:

jobs:
selftest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version-file: .python-version
cache: 'pip'

- uses: taiki-e/install-action@just

- name: Install Dependencies
run: just install

- uses: pypa/[email protected]
93 changes: 93 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Publish Python distribution to PyPI and TestPyPI

"on": push

jobs:
build:
name: Build distribution
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

publish-to-pypi:
name: >-
Publish Python distribution to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/Verbex/ # Replace <package-name> with your PyPI project name
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

github-release:
name: >-
Sign the Python distribution with Sigstore
and upload them to GitHub Release
needs:
- publish-to-pypi
runs-on: ubuntu-latest

permissions:
contents: write # IMPORTANT: mandatory for making GitHub Releases
id-token: write # IMPORTANT: mandatory for sigstore

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release create
'${{ github.ref_name }}'
--repo '${{ github.repository }}'
--notes ""
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
# Upload to GitHub Release using the `gh` CLI.
# `dist/` contains the built packages, and the
# sigstore-produced signatures and certificates.
run: >-
gh release upload
'${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}'
27 changes: 27 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PyTest

"on":
push:
pull_request:

env:
COLUMNS: 120

jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version-file: .python-version
cache: 'pip'

- uses: taiki-e/install-action@just

- name: Install Dependencies
run: just install

- name: Run Tests
run: just pytest
24 changes: 24 additions & 0 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Ruff Linting

"on":
push:
pull_request:

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version-file: .python-version
cache: 'pip'

- uses: taiki-e/install-action@just

- name: Install Dependencies
run: just install

- name: Test Formatting
run: just ruff_check
27 changes: 27 additions & 0 deletions .github/workflows/tomlsort.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: TOML Formatting

"on":
push:
pull_request:

jobs:
tomlsort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version-file: .python-version
cache: 'pip'

- uses: taiki-e/install-action@just

- name: Install Dependencies
run: just install

- name: Install toml-sort
run: pip install toml-sort

- name: Test Typing
run: just tomlsort_check
30 changes: 30 additions & 0 deletions .github/workflows/tox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: TOX testing

"on":
push:
pull_request:

jobs:
tox:
runs-on: ubuntu-latest
env:
TOX_PARALLEL_NO_SPINNER: 1 # Removes logging spam
steps:
- name: Checkout and setup Pythons
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Install tox and run tests
run: |
pip install tox
tox --parallel
Loading