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 same line implicit string concatenation from black #2358

Closed
wants to merge 1 commit into from

Conversation

peterjc
Copy link
Member

@peterjc peterjc commented Nov 27, 2019

There is an open issue on black for fixing this:
psf/black#26 (comment)

These specific cases were spotted while testing a new flake8 plugin:
https://github.com/keisheiled/flake8-implicit-str-concat/

Once that plugin as matured a little, we should start using it on our continuous integration testing (at least until the black issue is addressed).

  • I hereby agree to dual licence this and any previous contributions under both
    the Biopython License Agreement AND the BSD 3-Clause License.

  • I have read the CONTRIBUTING.rst file, have run flake8 locally, and
    understand that AppVeyor and TravisCI will be used to confirm the Biopython unit
    tests and style checks pass with these changes.

  • I have added my name to the alphabetical contributors listings in the files
    NEWS.rst and CONTRIB.rst as part of this pull request, am listed
    already, or do not wish to be listed. (This acknowledgement is optional.)

There is an open issue on black for fixing this.
Spotted while testing a new flake8 plugin:
https://github.com/keisheiled/flake8-implicit-str-concat/
@codecov
Copy link

codecov bot commented Nov 27, 2019

Codecov Report

Merging #2358 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2358   +/-   ##
=======================================
  Coverage   84.95%   84.95%           
=======================================
  Files         323      323           
  Lines       52690    52690           
=======================================
  Hits        44764    44764           
  Misses       7926     7926
Impacted Files Coverage Δ
Bio/SeqIO/SffIO.py 86.27% <ø> (ø) ⬆️
Bio/SeqIO/InsdcIO.py 93.08% <ø> (ø) ⬆️
Bio/bgzf.py 92.42% <0%> (ø) ⬆️

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 7844bca...28364ed. Read the comment docs.

@peterjc
Copy link
Member Author

peterjc commented Nov 28, 2019

Now covered in #2359 along with using a new flake8 plugin to enforce this.

@peterjc peterjc closed this Nov 28, 2019
@peterjc peterjc deleted the black_isc branch November 28, 2019 17:07
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

1 participant