diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index eee4a73..3a4d81d 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index b7abb99..2945f20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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; diff --git a/README.md b/README.md index 2763235..09fdf5a 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ cd hackingtool - sudo pip3 install -r requirement.txt + sudo pip3 install -r requirements.txt bash install.sh diff --git a/README_template.md b/README_template.md index 40c31c0..ea2f0e6 100644 --- a/README_template.md +++ b/README_template.md @@ -39,7 +39,7 @@ cd hackingtool - sudo pip3 install -r requirement.txt + sudo pip3 install -r requirements.txt bash install.sh diff --git a/install.sh b/install.sh index 0b954dc..3c63fc1 100644 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/requirement.txt b/requirements.txt similarity index 67% rename from requirement.txt rename to requirements.txt index 2341f97..3ee5ae7 100644 --- a/requirement.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -lolcat boxes flask -requests +lolcat +requests \ No newline at end of file