Skip to content

Commit

Permalink
Update dependencies and clean up code comments
Browse files Browse the repository at this point in the history
Added `setuptools` to `requirements-dev.txt` and updated `requires-python` in `pyproject.toml` to `>=3.11`. Also cleaned up a comment in `dnshelper.py` for better clarity.
  • Loading branch information
L1ghtn1ng committed Oct 18, 2024
1 parent 50b6bdf commit 721e562
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dnsrecon/lib/dnshelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def zone_transfer(self):
Function for testing for zone transfers for a given Domain, it will parse the
output by record type.
"""
# if anyone reports a record not parsed I will add it, the list is a long one
# if anyone reports a record not parsed, I will add it; the list is long
# I tried to include those I thought where the most common.

zone_records = []
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ name = "dnsrecon"
description = "DNS Enumeration Script"
readme = "README.md"
authors = [{ name = "Carlos Perez", email = "[email protected]" }]
requires-python = ">=3.9"
requires-python = ">=3.11"
urls.Homepage = "https://github.com/darkoperator/dnsrecon"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
]
Expand Down Expand Up @@ -67,7 +66,7 @@ exclude = [
]

line-length = 130
target-version = "py310"
target-version = "py311"
show-fixes = true

[tool.ruff.lint]
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pytest==8.3.3
ruff==0.7.0
setuptools

0 comments on commit 721e562

Please sign in to comment.