Skip to content

Commit

Permalink
Setup with hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Akm0d committed Aug 26, 2024
1 parent ffd67f4 commit 6559162
Show file tree
Hide file tree
Showing 21 changed files with 109 additions and 1,160 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install nox
- name: Test with nox
python -m pip install .[test]
- name: Test with pytest
run: |
nox -p ${{ matrix.python-version }}
pytest
35 changes: 0 additions & 35 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,34 +78,6 @@ repos:
additional_dependencies: [sphinx]
# <---- Formatting -----------------------------------------------------------------------------

# ----- Testing Static Requirements ------------------------------------------------------------------------------------>
- repo: https://github.com/saltstack/pip-tools-compile-impersonate
rev: '4.5'
hooks:
- id: pip-tools-compile
alias: compile-3.10-test-requirements
name: Py3.10 Test Requirements
files: ^requirements/tests.in$
pass_filenames: false
args:
- -v
- --py-version=3.10
- --platform=linux
- requirements/tests.in

- id: pip-tools-compile
alias: compile-3.11-test-requirements
name: Py3.11 Test Requirements
files: ^requirements/tests.in$
pass_filenames: false
args:
- -v
- --py-version=3.11
- --platform=linux
- requirements/tests.in

# <---- Testing Static Requirements -------------------------------------------------------------------------------------

# ----- Security -------------------------------------------------------------------------------------------------->
- repo: https://github.com/PyCQA/bandit
rev: "1.7.4"
Expand All @@ -120,10 +92,3 @@ repos:
)$
# <---- Security ---------------------------------------------------------------------------------------------------

# ----- Build Test -------------------------------------------------------------------------------------------------->
- repo: https://github.com/miki725/pre-commit-twine-check
rev: '0.1'
hooks:
- id: twine-check
# <---- Build Test ---------------------------------------------------------------------------------------------------
24 changes: 0 additions & 24 deletions .pyproject.toml

This file was deleted.

3 changes: 0 additions & 3 deletions .rstcheck.cfg

This file was deleted.

201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 6559162

Please sign in to comment.