Skip to content

Commit

Permalink
Merge pull request Z4nzu#349 from cclauss/requirements.txt
Browse files Browse the repository at this point in the history
requirement.txt --> requirements.txt
  • Loading branch information
Z4nzu authored Mar 4, 2023
2 parents d96a763 + 9c01a54 commit 8d10fdc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: pip install --upgrade pip wheel
- run: pip install --upgrade pip setuptools wheel
- run: pip install bandit black codespell flake8 flake8-bugbear flake8-return
flake8-comprehensions isort mypy pytest pyupgrade safety
- run: bandit --recursive --skip B404,B603,B605,B607 .
Expand All @@ -17,7 +17,7 @@ jobs:
- run: flake8 --ignore=E124,E128,E225,E251,E302,R502,R503,W291,W293,W605
--max-complexity=11 --max-line-length=265 --show-source --statistics .
- run: isort --check-only --profile black . || true
- run: pip install -r requirement.txt || pip install -r requirements.txt || pip install --editable . || pip install . || true
- run: pip install -r requirements.txt || pip install -r requirements.txt || pip install --editable . || pip install . || true
- run: mkdir --parents --verbose .mypy_cache
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true
- run: pytest . || true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ WORKDIR /root/hackingtool
COPY . .

RUN true && \
pip3 install -r requirement.txt;
pip3 install -r requirements.txt;

RUN true && \
pip3 install lolcat boxes flask requests;
Expand Down
2 changes: 1 addition & 1 deletion README_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

cd hackingtool

sudo pip3 install -r requirement.txt
sudo pip3 install -r requirements.txt

bash install.sh

Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ if [[ $choice =~ ^[1-2]+$ ]]; then
echo "";
echo -e "${YELLOW}[*] Installing requirements...${NC}"
if [[ $choice == 1 ]]; then
pip3 install -r $install_dir/requirement.txt
pip3 install -r $install_dir/requirements.txt
sudo apt install figlet -y
elif [[ $choice == 2 ]]; then
pip3 install -r $install_dir/requirement.txt
pip3 install -r $install_dir/requirements.txt
yay -S boxes --noconfirm
sudo pacman -S figlet -y
fi
Expand Down
4 changes: 2 additions & 2 deletions requirement.txt → requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lolcat
boxes
flask
requests
lolcat
requests

0 comments on commit 8d10fdc

Please sign in to comment.