Skip to content
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

ci(typeannotation): GitHub action to check files changed in a PR #15

Merged
merged 4 commits into from
Jun 6, 2024
Merged

Conversation

mih
Copy link
Member

@mih mih commented Jun 6, 2024

No description provided.

The reason is that `pyproject.toml` is read in many contexts. These
symbols are niceties that nevertheless impact platform compatibility.
Reading the file with the default platform encoding on windows
(`cp1252`) fails, because these symbols cannot be mapped.

Software should be able to handle UTF, but we cannot afford to make a
point in this crucial file.
mih added 3 commits June 6, 2024 12:00
This amends the `mypy-pr` workflow and runs a full check on the entire
project on `push`. We may want to have the PR-variant be a critical
check to pass, and this additional one be an information items of
an (unrelated) problem that needs fixing.

Rationale is that Python version upgrades, and mypy improvements may
introduce test failures at any time, and we cannot ask individual
PR authors to deal with them immediately for code that is unrelated
to a PR.

Closes: #12
Copy link

codeclimate bot commented Jun 6, 2024

Code Climate has analyzed commit 1b646db and detected 0 issues on this pull request.

View more on Code Climate.

@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 50.00%. Comparing base (2649467) to head (1b646db).

Files Patch % Lines
datasalad/dummy.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   50.00%   50.00%           
=======================================
  Files           2        2           
  Lines           4        4           
=======================================
  Hits            2        2           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mih mih merged commit b500c1d into main Jun 6, 2024
8 checks passed
@mih mih deleted the mypy branch June 6, 2024 10:26
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