Skip to content

Commit

Permalink
V1.1.0 (#83)
Browse files Browse the repository at this point in the history
* V1.1.0 version bump

* Add to do (#80)

* Combine worfklows (#82)

* Combine worfklows

* Try caching the os and packages

Trying to reduce time for workflows

* Revert "Try caching the os and packages"

This reverts commit 9a67adc.

* Remove black formatting

Keep ruff formatting though

* Remove black from requirements

* Collegamento ipc (#85)

* Implement Request wrappers

* Use collegamento

* Format

* Add requirement
  • Loading branch information
Moosems authored Aug 1, 2024
1 parent 99a1ed7 commit aec52ec
Show file tree
Hide file tree
Showing 18 changed files with 181 additions and 537 deletions.
5 changes: 4 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Fixes #__.

Changes in PR:
To do:
- [ ] ...

Cuurent changes in PR:
- ...
17 changes: 0 additions & 17 deletions .github/workflows/black.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Formatting

on: push

jobs:
formatting-isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11.1

- name: Code Formatting (App)
run: |
pip install -r requirements-dev.txt
isort --check .
formatting-ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11.1

- name: Code Formatting (App)
run: |
pip install -r requirements-dev.txt
ruff format --check .
ruff-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11.1

- name: Code Formatting (App)
run: |
pip install -r requirements-dev.txt
ruff check .
17 changes: 0 additions & 17 deletions .github/workflows/isort.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/ruff-format.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/ruff.yml

This file was deleted.

30 changes: 29 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Code Tests
on: push

jobs:
testing:
testing-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -16,3 +16,31 @@ jobs:
pip install .
pip install -r requirements-dev.txt
python3 -m pytest .
testing-macos:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11.1

- name: Run tests
run: |
pip install .
pip install -r requirements-dev.txt
python3 -m pytest .
testing-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11.1

- name: Run tests
run: |
pip install .
pip install -r requirements-dev.txt
python3 -m pytest . -s
18 changes: 0 additions & 18 deletions .github/workflows/windows-tests.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align="center">Salve v1.0.0</h1>
<h1 align="center">Salve v1.1.0</h1>

# Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
project = "Salve"
copyright = "2024, Moosems"
author = "Moosems"
release = "v1.0.0"
release = "v1.1.0"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ pygments
pyeditorconfig
beartype
token_tools
collegamento

# Testing
pytest

# Formatting
ruff
isort
black

# Builds
setuptools
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ pygments
pyeditorconfig
beartype
token_tools
collegamento
3 changes: 2 additions & 1 deletion salve/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

beartype_this_package()

from collegamento import Response # noqa: F401, E402

from .ipc import IPC # noqa: F401, E402
from .misc import ( # noqa: F401, E402
AUTOCOMPLETE,
Expand All @@ -11,6 +13,5 @@
HIGHLIGHT,
LINKS_AND_CHARS,
REPLACEMENTS,
Response,
)
from .server_functions import is_unicode_letter # noqa: F401, E402
Loading

0 comments on commit aec52ec

Please sign in to comment.