Skip to content

Commit

Permalink
Merge branch 'ip-tools:main' into docstr1
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkeanny authored Jan 30, 2024
2 parents c8559e4 + 6bda2ad commit d8423bb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import epo_ops
client = epo_ops.Client(key='abc', secret='xyz') # Instantiate client
response = client.published_data( # Retrieve bibliography data
reference_type = 'publication', # publication, application, priority
input = epo_ops.models.Docdb('1000000', 'EP', 'A1'), # original, docdb, epodoc
input = epo_ops.models.Docdb('1000000', 'EP', 'A1'), # docdb, epodoc
endpoint = 'biblio', # optional, defaults to biblio in case of published_data
constituents = [] # optional, list of constituents
)
Expand Down
18 changes: 18 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://docs.codecov.io/docs/common-recipe-list
# https://docs.codecov.io/docs/commit-status#patch-status

# This configures a large leniency of 25%, because patches submitted by
# external contributors will not cover the whole codebase, because they
# can't use OPS credentials on CI/GHA.

coverage:
status:

project:
default:
target: auto # the required coverage value
threshold: 25% # the leniency in hitting the target

patch:
default:
informational: true
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@
package_dir={"epo_ops": "epo_ops"},
include_package_data=True,
install_requires=[
"dogpile.cache<1.2",
"dogpile.cache<1.4",
"importlib-metadata; python_version<'3.8'",
"python-dateutil<2.9",
"requests>=2.27,<3",
"six<2",
],
extras_require={
"develop": [
"black<24",
"ruff==0.0.285; python_version >= '3.7'",
"black<25",
"ruff<0.2; python_version >= '3.7'",
"twine<5",
"wheel<1",
],
"test": [
"pytest<8",
"pytest<9",
"pytest-cache<2",
"pytest-cov<4.2",
"python-dotenv<0.20",
"python-dotenv<1.1",
"responses<0.24",
],
},
Expand Down

0 comments on commit d8423bb

Please sign in to comment.