Skip to content

Commit

Permalink
Move optional dependencies from dev_requirements to pyproject.toml (
Browse files Browse the repository at this point in the history
#474)

* Move optional dependencies from `dev_requirements` to `pyproject.toml`

* Spellcheck update

* Gitworkflows

* typo

* black & Isort

* hatchlinger

* Hatchlinger Update

* fix hatchi

* try3

* copy paste fehler

---------

Co-authored-by: kevin <kevin.krechan@hochfrequenz.de>
  • Loading branch information
FreddyFox892 and hf-krechan authored Sep 24, 2024
1 parent 557477b commit 78c1851
Show file tree
Hide file tree
Showing 71 changed files with 131 additions and 290 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev_requirements/requirements-formatting.txt
pip install .[formatting]
- name: ${{ matrix.tool }} Code Formatter
run: |
${{ matrix.tool }} . --check
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev_requirements/requirements-test_packaging.txt
pip install .[test_packaging]
- name: Build wheel and source distributions
run: |
python -m build
Expand Down
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ Functionality
``unknown``.
- Brackets e.g. ``([43]O[4])U[5]``
- Requirement indicators (i.e ``Muss``, ``Soll``, ``Kann``, ``X``,
``O``, ``U``) are seperated from the condition expressions and also
seperated into single requirement indicator expressions if there are
``O``, ``U``) are separated from the condition expressions and also
separated into single requirement indicator expressions if there are
more than one (for modal marks).
- ``Format Constraint Expressions`` that are returned after the
requirement condition evaluation can now be parsed and evaluated.
Expand Down Expand Up @@ -309,13 +309,13 @@ Unknown Neutral Unknown
| | | | of hint and format |
| | | | constraint |
+---------+---------+---------------------+-----------------------+
| Unkown | True | Unknown | |
| Unknown | True | Unknown | |
+---------+---------+---------------------+-----------------------+
| Unkown | False | Unknown | |
| Unknown | False | Unknown | |
+---------+---------+---------------------+-----------------------+
| Unkown | Unknown | Unknown | |
| Unknown | Unknown | Unknown | |
+---------+---------+---------------------+-----------------------+
| Unkown | Neutral | does not make sense | |
| Unknown | Neutral | does not make sense | |
+---------+---------+---------------------+-----------------------+

Link to automatically generate HintsProvider Json content:
Expand Down Expand Up @@ -361,7 +361,7 @@ UTILMD could be a scope. If a condition is described as
There has to be exactly one xyz per Vorgang (SG4+IDE) Then for ``n``
Vorgänge there are ``n`` scopes:

- one scope for each Vorgang (pathes refer to an edifact seed):
- one scope for each Vorgang (path's refer to an edifact seed):

- ``$["Dokument"][0]["Nachricht"][0]["Vorgang"][0]``
- ``$["Dokument"][0]["Nachricht"][0]["Vorgang"][1]``
Expand Down
2 changes: 0 additions & 2 deletions dev_requirements/requirements-coverage.in

This file was deleted.

8 changes: 0 additions & 8 deletions dev_requirements/requirements-coverage.txt

This file was deleted.

4 changes: 0 additions & 4 deletions dev_requirements/requirements-formatting.in

This file was deleted.

60 changes: 0 additions & 60 deletions dev_requirements/requirements-formatting.txt

This file was deleted.

2 changes: 0 additions & 2 deletions dev_requirements/requirements-json_schemas.in

This file was deleted.

12 changes: 0 additions & 12 deletions dev_requirements/requirements-json_schemas.txt

This file was deleted.

2 changes: 0 additions & 2 deletions dev_requirements/requirements-linting.in

This file was deleted.

20 changes: 0 additions & 20 deletions dev_requirements/requirements-linting.txt

This file was deleted.

4 changes: 0 additions & 4 deletions dev_requirements/requirements-test_packaging.in

This file was deleted.

87 changes: 0 additions & 87 deletions dev_requirements/requirements-test_packaging.txt

This file was deleted.

5 changes: 0 additions & 5 deletions dev_requirements/requirements-tests.in

This file was deleted.

24 changes: 0 additions & 24 deletions dev_requirements/requirements-tests.txt

This file was deleted.

3 changes: 0 additions & 3 deletions dev_requirements/requirements-type_check.in

This file was deleted.

14 changes: 0 additions & 14 deletions dev_requirements/requirements-type_check.txt

This file was deleted.

6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
# This hack is necessary since RTD does not issue `sphinx-apidoc` before running
# `sphinx-build -b html . _build/html`. See Issue:
# https://github.com/rtfd/readthedocs.org/issues/1139
# DON'T FORGET: Check the box "Install your project inside a virtualenv using
# pyproject.toml install" in the RTD Advanced Settings.
# Additionally, it helps us to avoid running apidoc manually

try: # for Sphinx >= 1.7
Expand Down Expand Up @@ -102,9 +104,9 @@
# built documents.
#
# The short X.Y version.
version = ""
version = "" # Is set by calling `pyproject.toml docs`
# The full version, including alpha/beta/rc tags.
release = ""
release = "" # Is set by calling `pyproject.toml docs`

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
9 changes: 9 additions & 0 deletions domain-specific-terms.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# contains 1 lower case word per line which are ignored in the spell_check
Dokument
ist
oder
CONTRL
oll
BU
adresse
alle
Loading

0 comments on commit 78c1851

Please sign in to comment.