Skip to content

Commit

Permalink
Fix Issue with image_tags (#23)
Browse files Browse the repository at this point in the history
Dependency increment and minor text changes
  • Loading branch information
Buried-In-Code authored Sep 3, 2021
1 parent f28c2b8 commit c6aea4c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Code-Testing"
name: "Testing"

on:
push:
Expand All @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Simyan

[![PyPI - Python](https://img.shields.io/pypi/pyversions/Simyan.svg?logo=Python&label=Python-Versions&style=flat-square)](https://pypi.python.org/pypi/Simyan/)
[![PyPI - Status](https://img.shields.io/pypi/status/Simyan.svg?logo=PyPI&label=Status&style=flat-square)](https://pypi.python.org/pypi/Simyan/)
[![PyPI - Version](https://img.shields.io/pypi/v/Simyan.svg?logo=PyPI&label=Version&style=flat-square)](https://pypi.python.org/pypi/Simyan/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/Simyan.svg?logo=PyPI&label=Downloads&style=flat-square)](https://pypi.python.org/pypi/Simyan/)
[![PyPI - License](https://img.shields.io/pypi/l/Simyan.svg?logo=PyPI&label=License&style=flat-square)](https://opensource.org/licenses/MIT)

[![Github - Contributors](https://img.shields.io/github/contributors/Buried-In-Code/Simyan.svg?logo=Github&label=Contributors&style=flat-square)](https://github.com/Buried-In-Code/Simyan/graphs/contributors)
[![Github Action - Code Analysis](https://img.shields.io/github/workflow/status/Buried-In-Code/Simyan/Code-Analysis?logo=Github-Actions&label=Code-Analysis&style=flat-square)](https://github.com/Buried-In-Code/Simyan/actions/workflows/code-analysis.yml)
[![Github Action - Code Formatting](https://img.shields.io/github/workflow/status/Buried-In-Code/Simyan/Code-Formatting?logo=Github-Actions&label=Code-Formatting&style=flat-square)](https://github.com/Buried-In-Code/Simyan/actions/workflows/code-formatting.yml)
[![Github Action - Testing](https://img.shields.io/github/workflow/status/Buried-In-Code/Simyan/Testing?logo=Github-Actions&label=Tests&style=flat-square)](https://github.com/Buried-In-Code/Simyan/actions/workflows/testing.yml)

[![Code Style - Black](https://img.shields.io/badge/Code%20Style-Black-000000.svg?style=flat-square)](https://github.com/psf/black)

Expand Down
2 changes: 1 addition & 1 deletion Simyan/generic_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ImageEntrySchema(Schema):
thumb = fields.Url(data_key="thumb_url")
tiny = fields.Url(data_key="tiny_url")
original = fields.Url(data_key="original_url")
tags = fields.Str(data_key="image_tags")
tags = fields.Str(data_key="image_tags", allow_none=True)

class Meta:
unknown = EXCLUDE
Expand Down
1 change: 0 additions & 1 deletion Simyan/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def issue_list(self, params: Dict[str, Union[str, int]] = None) -> IssueList:
results = self._retrieve_all_responses("issues", params)
return IssueList(results)

#
def story_arc(self, _id: int) -> StoryArc:
try:
return StoryArcSchema().load(self.call(["story_arc", f"{CVType.STORY_ARC}-{_id}"])["results"])
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

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

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Simyan"
version = "0.4.0"
version = "0.4.1"
description = "A Python wrapper for the Comicvine API."
license = "MIT"
authors = ["Buried-In-Code <6057651+Buried-In-Code@users.noreply.github.com>"]
Expand All @@ -16,7 +16,7 @@ include = [
{ path = "tests", format = "sdist" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
Expand Down Expand Up @@ -44,7 +44,7 @@ pytest-cov = "^2.12.1"
flake8 = "^3.9.2"
black = "^21.8b0"
isort = "^5.9.3"
pre-commit = "^2.14.1"
pre-commit = "^2.15.0"
pyupgrade = "^2.25.0"
seed-isort-config = "^2.2.0"
tox = "^3.24.3"
Expand Down

0 comments on commit c6aea4c

Please sign in to comment.