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

Update to pytest 6.0 #392

Merged
merged 9 commits into from Aug 12, 2020
Merged

Update to pytest 6.0 #392

merged 9 commits into from Aug 12, 2020

Conversation

danyeaw
Copy link
Member

@danyeaw danyeaw commented Aug 10, 2020

  • Pytest 6.0 adds type support and initial support for configs in pyproject.toml.
  • Move coveragerc config in to pyproject.toml
  • Update dependencies
  • Freeze usage of PyInstaller 3.6, the recently released 4.0 has some weird permission issue

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation content changes

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Signed-off-by: Dan Yeaw <dan@yeaw.me>
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Signed-off-by: Dan Yeaw <dan@yeaw.me>
@github-actions github-actions bot added the chore Maintenance related PR label Aug 10, 2020
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Signed-off-by: Dan Yeaw <dan@yeaw.me>
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Aug 11, 2020

Sourcery Code Quality Report (beta)

❌  Merging this PR will decrease code quality in the affected files by 0.29 out of 10.

Quality metrics Before After Change
Complexity 0.71 1.00 0.29 🔴
Method Length 34.53 45.54 11.01 🔴
Quality 9.08 8.79 -0.29 🔴
Other metrics Before After Change
Lines 64 59 -5
Changed files Quality Before Quality After Quality Change
gaphor/UML/states/pseudostates.py 8.80 8.79 -0.01 🔴

Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Let us know what you think of it by mentioning @sourcery-ai in a comment.

@danyeaw danyeaw requested a review from amolenaar August 11, 2020 02:09
@danyeaw danyeaw merged commit 87f5d22 into master Aug 12, 2020
@danyeaw danyeaw deleted the chore/pytest-update branch August 12, 2020 01:47
@amolenaar amolenaar added this to the 2.0.1 milestone Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants