Skip to content

Commit 0f0f0e1

Browse files
authored
Remove unused tools (#73)
1 parent a16bb56 commit 0f0f0e1

File tree

6 files changed

+3
-52
lines changed

6 files changed

+3
-52
lines changed

.github/hooks/.pre-commit-config.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ repos:
2020
- id: end-of-file-fixer
2121
- id: trailing-whitespace
2222

23-
- repo: https://github.com/MarcoGorelli/absolufy-imports
24-
rev: v0.3.1
25-
hooks:
26-
- id: absolufy-imports
27-
files: ^src/
28-
2923
- repo: local
3024
hooks:
3125
- id: codespell

.github/workflows/build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ jobs:
4747
run: |
4848
poetry run mypy --incremental --show-error-codes --pretty src
4949
50-
- name: Vulture
51-
run: |
52-
poetry run vulture
53-
5450
- name: Tests
5551
run: |
5652
poetry run coverage run -m pytest src --cov-config=.coveragerc --junit-xml=junit/test-results.xml --cov-report=html --cov-report=xml

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ format: isort black
2323
mypy:
2424
poetry run mypy --incremental --install-types --show-error-codes --pretty src
2525

26-
vulture:
27-
poetry run vulture
28-
2926
pre_commit:
3027
poetry run pre-commit run -a -c .github/hooks/.pre-commit-config.yml
3128

@@ -41,7 +38,7 @@ test_cov:
4138
compile_env:
4239
poetry lock --no-update
4340

44-
build: isort black pre_commit flake8 mypy vulture test
41+
build: isort black pre_commit flake8 mypy test
4542

4643
# Misc
4744
jupyter:

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ When developing a project there's a need to automate some tedious stuff that hel
3333
- [flake8](https://github.com/PyCQA/flake8)
3434
- [isort](https://github.com/PyCQA/isort)
3535
- [mypy](https://github.com/python/mypy)
36-
- [(vulture)](https://github.com/jendrikseipp/vulture)
3736
- [poetry](https://github.com/python-poetry/poetry)
3837

3938
## [Makefile](Makefile)
@@ -44,7 +43,7 @@ To start your work, you need to set up your local environment and hooks.
4443
make install_dev
4544
```
4645

47-
You gonna put your CLI here later. It already contains calls to build tools and checks. Use `build` to run them all (`isort`, `black`, `pre_commit`, `flake8`, `mypy`, `vulture`, `test`).
46+
You gonna put your CLI here later. It already contains calls to build tools and checks. Use `build` to run them all (`isort`, `black`, `pre_commit`, `flake8`, `mypy`, `test`).
4847

4948
```sh
5049
make build

poetry.lock

Lines changed: 1 addition & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ pre-commit = "^3.2.1"
2424
pytest = "^7.1.2"
2525
pytest-cov = "^3.0.0"
2626
pyupgrade = "^3.4.0"
27-
vulture = "^2.7"
2827
yesqa = "^1.4.0"
2928

3029
[tool.flake8]
@@ -66,13 +65,6 @@ exclude = '''
6665
)/
6766
'''
6867

69-
[tool.vulture]
70-
make_whitelist = true
71-
min_confidence = 80
72-
paths = ["src"]
73-
sort_by_size = true
74-
verbose = false
75-
7668
[tool.codespell]
7769
ignore-words = ".codespell"
7870

0 commit comments

Comments
 (0)