Updating poetry files and gh-action

This commit is contained in:
Priya M 2022-12-25 21:05:48 +11:00
parent 65fc104b2d
commit 2eb8cfa9a1
No known key found for this signature in database
GPG Key ID: 71AA90153941B09D
4 changed files with 1215 additions and 12 deletions

View File

@ -7,7 +7,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install --upgrade pip poetry
- run: pip install bandit black codespell flake8 flake8-bugbear flake8-comprehensions isort mypy pytest pyupgrade safety requests
- run: poetry install
# - run: pip install flake8-bugbear flake8-comprehensions pyupgrade safety requests
- run: bandit --recursive --skip B101 . || true # B101 is assert statements
- run: black --check . || true
- run: codespell --skip="./autorecon/wordlists" # --ignore-words-list="" --skip="*.css,*.js,*.lock"

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
__pycache__
*.pyc
results/
.python_version

1207
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -10,15 +10,27 @@ packages = [
]
[tool.poetry.dependencies]
python = "^3.8"
python = "^3.8.1"
appdirs = "^1.4.4"
colorama = "^0.4.5"
impacket = "^0.10.0"
requests = "^2.28.1"
toml = "^0.10.2"
Unidecode = "^1.3.1"
flake8 = "^6.0.0"
[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
black = "^22.12.0"
bandit = "^1.7.4"
codespell = "^2.2.2"
flake8 = "^6.0.0"
isort = "^5.11.4"
mypy = "^0.991"
mytest = "^1.65535.0"
pyupgrade = "^3.3.1"
safety = "^2.3.5"
flake8-bugbear = "^22.12.6"
flake8-comprehensions = "^3.10.1"
[tool.poetry.scripts]
autorecon = "autorecon.main:main"