Skip to content

Commit

Permalink
chore: Update pyproject.toml with new optional dependencies
Browse files Browse the repository at this point in the history
Add 'isort' to the dev optional dependencies and 'birdxplorer_common' to the prod optional dependencies in pyproject.toml. This change is necessary to ensure proper development and production environments for the project.
  • Loading branch information
osoken committed Jul 8, 2024
1 parent f9c753f commit 3f0c566
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions etl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,15 @@ package-dir = {"" = "src"}

[project.optional-dependencies]
dev=[
"birdxplorer_common[dev] @ file://../common",
"black",
"flake8",
"pyproject-flake8",
"pytest",
'prefect'
'prefect',
"isort",
]
prod=[
"birdxplorer_common @ git+https://github.com/codeforjapan/BirdXplorer.git@main#subdirectory=common",
]

[tool.pytest.ini_options]
Expand Down Expand Up @@ -91,11 +94,10 @@ legacy_tox_ini = """
DATA_DIR = {env:BX_DATA_DIR}
deps =
-e .[dev]
-e ../common
commands =
black birdxplorer_etl tests
isort birdxplorer_etl tests
black src/birdxplorer_etl tests
isort src/birdxplorer_etl tests
pytest
pflake8 birdxplorer_etl/ tests/
mypy birdxplorer_etl --strict
mypy tests --strict
pflake8 src/birdxplorer_etl/ tests/
"""

0 comments on commit 3f0c566

Please sign in to comment.