fix: add 422 Error class and status_code to DataCiteError #218
Annotations
20 errors
Tests (3.9):
tests/test_doi_get.py#L128
test_doi_get_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.9):
tests/test_doi_post.py#L120
test_doi_post_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.9):
tests/test_media_get.py#L100
test_media_get_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.9):
tests/test_media_post.py#L107
test_media_post_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.9):
tests/test_metadata_delete.py#L96
test_metadata_delete_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.9):
tests/test_metadata_get.py#L114
test_metadata_get_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.9):
tests/test_metadata_post.py#L100
test_metadata_post_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.9):
tests/test_rest.py#L323
test_get_doi_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.9):
datacite/errors.py#L1
pydocstyle-check
/home/runner/work/datacite/datacite/datacite/errors.py:1 at module level:
D100: Missing docstring in public module
/home/runner/work/datacite/datacite/datacite/errors.py:111 in public class `DataCiteErrorFactory`:
D400: First line should end with a period (not 'e')
|
Tests (3.9)
Process completed with exit code 1.
|
Tests (3.12):
tests/test_doi_get.py#L128
test_doi_get_500
TypeError: DataCiteErrorFactory.<lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.12):
tests/test_doi_post.py#L120
test_doi_post_500
TypeError: DataCiteErrorFactory.<lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.12):
tests/test_media_get.py#L100
test_media_get_500
TypeError: DataCiteErrorFactory.<lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.12):
tests/test_media_post.py#L107
test_media_post_500
TypeError: DataCiteErrorFactory.<lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.12):
tests/test_metadata_delete.py#L96
test_metadata_delete_500
TypeError: DataCiteErrorFactory.<lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.12):
tests/test_metadata_get.py#L114
test_metadata_get_500
TypeError: DataCiteErrorFactory.<lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.12):
tests/test_metadata_post.py#L100
test_metadata_post_500
TypeError: DataCiteErrorFactory.<lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.12):
tests/test_rest.py#L323
test_get_doi_500
TypeError: DataCiteErrorFactory.<lambda>() missing 1 required positional argument: 'status_code'
|
Tests (3.12):
datacite/errors.py#L1
pydocstyle-check
/home/runner/work/datacite/datacite/datacite/errors.py:1 at module level:
D100: Missing docstring in public module
/home/runner/work/datacite/datacite/datacite/errors.py:111 in public class `DataCiteErrorFactory`:
D400: First line should end with a period (not 'e')
|
Tests (3.12)
Process completed with exit code 1.
|