-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove checking multimedia content type (#12)
* #10 - Remove getting content type from url header as this cause performance issue * fix warnings * fix error in test * Mock mimetype test when run in github action. Python image for github action does not support mimetype * Resolve Deprecation warning for python 3.12 * Minor fix * Update readme * update build version * update build version to v0.2.0
- Loading branch information
Showing
10 changed files
with
398 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "dwcahandler" | ||
version = "0.2.0.b2" | ||
version = "0.2.0" | ||
description = "Python package to handle Darwin Core Archive (DwCA) operations. This includes creating a DwCA zip file from one or more csvs, reading a DwCA, merge two DwCAs, validate DwCA and delete records from DwCA based on one or more key columns" | ||
authors = ["Atlas of Living Australia data team <[email protected]>"] | ||
maintainers = ["Atlas of Living Australia data team <[email protected]>"] | ||
|
@@ -14,6 +14,7 @@ pandas = "^2.2.0" | |
requests = "^2.32.0" | ||
pytest = "^8.2.0" | ||
pytest-mock = "^3.12.0" | ||
pytest-cov = "^5.0.0" | ||
metapype = "^0.0.26" | ||
flake8 = "^7.1.1" | ||
|
||
|
@@ -25,4 +26,4 @@ requires = ["poetry-core"] | |
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.pytest.ini_options] | ||
pythonpath = "src" | ||
pythonpath = "src" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
def pytest_addoption(parser): | ||
parser.addoption( | ||
"--github-action-run", action="store", default=False, help="Set this to True if it's been called from github action" | ||
) |
Oops, something went wrong.