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

Fix some f-strings; additional linting. #396

Merged
merged 1 commit into from Dec 6, 2021

Conversation

grahamgower
Copy link
Member


I noticed a missing "f" on an f-string and wanted to check for other occurences. It turns out there's a lack of tooling around this (for obvious reasons - there would be lots of false positives). However, there is an open pr for pylint adding checks for this, so I pulled that down and ran it. I checked some other stuff too using pylint, but in general its value seems marginal.

@codecov
Copy link

codecov bot commented Dec 6, 2021

Codecov Report

Merging #396 (e87f887) into main (dbb10b7) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #396   +/-   ##
=======================================
  Coverage   99.87%   99.87%           
=======================================
  Files           5        5           
  Lines        1554     1554           
=======================================
  Hits         1552     1552           
  Misses          2        2           
Impacted Files Coverage Δ
demes/demes.py 100.00% <100.00%> (ø)
demes/ms.py 100.00% <100.00%> (ø)

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 dbb10b7...e87f887. Read the comment docs.

Copy link
Member

@jeromekelleher jeromekelleher left a comment

Choose a reason for hiding this comment

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

LGTM

@grahamgower grahamgower merged commit f09b2cb into popsim-consortium:main Dec 6, 2021
@grahamgower grahamgower deleted the lint branch December 7, 2021 08:23
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.

None yet

2 participants