aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPherkel2023-09-11 20:47:45 +0200
committerPherkel2023-09-11 20:47:45 +0200
commita4c4fcc20a789834be8bff0a468b0a877ab70364 (patch)
tree5c733aceba58742bb9972b5951281a45d428194a
parent0e457b1a553ca2d9f4e2449c620925c634a82efd (diff)
removed bloat, reduced ci deps
-rw-r--r--.github/workflows/format.yml13
-rw-r--r--.pre-commit-config.yaml14
-rw-r--r--mypy.ini17
-rw-r--r--tests/__init__.py0
4 files changed, 3 insertions, 41 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 7138f69..3b3d831 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -13,17 +13,10 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
- python -m pip install -U pip poetry
- poetry --version
- poetry check --no-interaction
- poetry config virtualenvs.in-project true
- poetry install --no-interaction
+ python -m pip install black pylint
- name: Check for format issues
run: |
- make format-check
+ black --check swr2_asr
- name: Run pylint
run: |
- poetry run pylint --fail-under=9 swr2_asr
- # run: |
- # poetry run mypy --strict swr2_asr
- #- name: Run mypy
+ pylint --fail-under=9 swr2_asr
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
deleted file mode 100644
index af91a5e..0000000
--- a/.pre-commit-config.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-repos:
- - repo: https://github.com/psf/black.git
- rev: 23.7.0
- hooks:
- - id: black
- - repo: https://github.com/pre-commit/mirrors-mypy
- rev: ''
- hooks:
- - id: mypy
- - repo: https://github.com/pylint-dev/pylint.git
- rev: v2.17.5
- hooks:
- - id: pylint
- \ No newline at end of file
diff --git a/mypy.ini b/mypy.ini
deleted file mode 100644
index c13aa05..0000000
--- a/mypy.ini
+++ /dev/null
@@ -1,17 +0,0 @@
-[mypy-AudioLoader.*]
-ignore_missing_imports = True
-
-[mypy-torchaudio.*]
-ignore_missing_imports = true
-
-[mypy-torch.*]
-ignore_missing_imports = true
-
-[mypy-click.*]
-ignore_missing_imports = true
-
-[mypy-tokenizers.*]
-ignore_missing_imports = true
-
-[mypy-tqmd.*]
-ignore_missing_imports = true \ No newline at end of file
diff --git a/tests/__init__.py b/tests/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/tests/__init__.py
+++ /dev/null