Skip to content

Commit

Permalink
CI: change dependencies format
Browse files Browse the repository at this point in the history
  • Loading branch information
Vítor Araujo committed Aug 5, 2024
1 parent 0172f2d commit 8bcc4ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest codecov pytest-cov pytest-mock
pip install -r requirements.txt
pip install pip install .[tests]
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ build-backend = "hatchling.build"
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]

[project.optional-dependencies]
tests = ["flake8", "pytest", "pytest-mock", "codecov", "pytest-cov"]

[project.scripts]
update_dns = "dns_updater.cli:main"

Expand Down

0 comments on commit 8bcc4ff

Please sign in to comment.