Skip to content

Commit

Permalink
removed black, falk8 and isort for ruff and tidy up a few un-needed f…
Browse files Browse the repository at this point in the history
…iles/directories
  • Loading branch information
L1ghtn1ng committed Mar 18, 2024
1 parent 713ba04 commit 07d631e
Show file tree
Hide file tree
Showing 18 changed files with 2,542 additions and 3,233 deletions.
2 changes: 0 additions & 2 deletions .flake8

This file was deleted.

19 changes: 10 additions & 9 deletions .github/workflows/DNSrecon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
max-parallel: 8
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.8, 3.9, 3.10.12, 3.11]
python-version: [3.9, 3.10.12, 3.11, 3.12]

steps:
- uses: actions/checkout@v4
Expand All @@ -28,13 +28,14 @@ jobs:
pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Lint with flake8
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --show-source --statistics --config .flake8
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-line-length=127 --statistics --config .flake8
- name: Run pytest tests
ruff check
- name: Format with ruff
run: |
ruff format --check --diff
- name: Test with pytest
run: |
python3 -m pytest .
pytest
2 changes: 0 additions & 2 deletions .isort.cfg

This file was deleted.

182 changes: 0 additions & 182 deletions Changelog.md

This file was deleted.

Loading

0 comments on commit 07d631e

Please sign in to comment.