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

V1.1.0 #83

Merged
merged 6 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
Loading