Skip to content

Enforce latests syntax on CI #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 8, 2021
Merged

Conversation

mik-laj
Copy link
Contributor

@mik-laj mik-laj commented Jun 6, 2021

Continuation of: #344

@codecov
Copy link

codecov bot commented Jun 6, 2021

Codecov Report

Merging #351 (0749e38) into master (82738c3) will decrease coverage by 0.00%.
The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #351      +/-   ##
==========================================
- Coverage   95.71%   95.71%   -0.01%     
==========================================
  Files          81       81              
  Lines        1705     1704       -1     
==========================================
- Hits         1632     1631       -1     
  Misses         73       73              
Impacted Files Coverage Δ
openapi_core/__init__.py 100.00% <ø> (ø)
openapi_core/contrib/django/backports.py 36.84% <0.00%> (ø)
...penapi_core/deserializing/parameters/exceptions.py 89.47% <0.00%> (ø)
openapi_core/security/providers.py 86.20% <ø> (ø)
openapi_core/templating/media_types/exceptions.py 100.00% <ø> (ø)
openapi_core/templating/responses/exceptions.py 90.00% <0.00%> (ø)
openapi_core/validation/request/validators.py 94.37% <ø> (ø)
openapi_core/validation/response/validators.py 96.36% <ø> (ø)
openapi_core/exceptions.py 88.88% <25.00%> (ø)
openapi_core/casting/schemas/exceptions.py 100.00% <100.00%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82738c3...0749e38. Read the comment docs.

hooks:
- id: pyupgrade
args: ["--py36-plus"]
exclude: ^airflow/_vendor/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line to remove

).format(self.mimetype, self.availableMimetypes)
f"Content for the following mimetype not found: {self.mimetype}. "
f"Valid mimetypes: {self.availableMimetypes}"
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add newline at the end of file

@mik-laj
Copy link
Contributor Author

mik-laj commented Jun 7, 2021

@p1c2u All done

Copy link
Collaborator

@p1c2u p1c2u left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@p1c2u
Copy link
Collaborator

p1c2u commented Jun 8, 2021

@mik-laj thanks for the contribution

@p1c2u p1c2u merged commit 07a96ba into python-openapi:master Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants