Skip to content

Commit

Permalink
Update dependency structure
Browse files Browse the repository at this point in the history
  • Loading branch information
gutzbenj committed Jun 19, 2023
1 parent 564dbd6 commit dafd63b
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 81 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cache: poetry

- name: Install project
run: poetry install --no-interaction --no-root --with=dev
run: poetry install --no-interaction --no-root --with=dev,test

- name: Run tests, with coverage
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
cache: poetry

- name: Install project
run: poetry install --no-interaction --no-root --with=dev
run: poetry install --no-interaction --no-root --with=dev,test

- name: Unit tests
run: poetry run pytest -m unit
Expand Down
76 changes: 16 additions & 60 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 22 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,35 +49,38 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.10"

google-cloud-bigquery = { version = "^3.8", extras = ["bqstorage", "pandas"] }
pandas = "^1.5.0"
pandas-gbq = "^0.18"
sqlvalidator = "^0.0.20"
google-cloud-bigquery = { version = "^3.8", extras = ["bqstorage", "pandas"] }
pandas = "^1.5.0"
pandas-gbq = "^0.18"
sqlvalidator = "^0.0.20"

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
coverage = { version = "^6.0", extras = ["toml"] }
libyear = "^0.2.1"
mock = "^5.0.2"
mypy = "^1.3.0"
poethepoet = "^0.20.0"
pytest = "^7.3.1"
pytest-cov = "^4.0"
ruff = "^0.0.271"
types-mock = "^5.0.0.6"
urllib3 = "^2.0.2"
black = "^22.10.0"
mypy = "^1.3.0"
poethepoet = "^0.20.0"
ruff = "^0.0.271"
types-mock = "^5.0.0.6"

[tool.poetry.group.test]
optional = true

[tool.poetry.group.test.dependencies]
coverage = { version = "^6.0", extras = ["toml"] }
mock = "^5.0.2"
pytest = "^7.3.1"
pytest-cov = "^4.0"

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
mike = "^1.1.2"
mkdocs = "^1.4.3"
mkdocs-material = "^9.1.15"
mkdocstrings-python = "^1.1.2"
mike = "^1.1.2"
mkdocs = "^1.4.3"
mkdocs-material = "^9.1.15"
mkdocstrings-python = "^1.1.2"

[tool.black]
line-length = 120
Expand Down

0 comments on commit dafd63b

Please sign in to comment.