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

Move Bio/.flake8 to top level #2018

Closed
wants to merge 1 commit into from

Conversation

peterjc
Copy link
Member

@peterjc peterjc commented Apr 19, 2019

Work intended to help with #493 and #2014 - fairly sure the automated tests will work without changing the TravisCI/Tox setup, about to find out...

Still have other folder specific .flake8 files, but plan is to improve the compliance in Tests/ etc and have a single set of flake8 settings here.

This will allow use to simplify how we run flake8, and use its provided git pre-commit hook.

  • 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 and understand that AppVeyor and
    TravisCI will be used to confirm the Biopython unit tests and flake8 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.)

Still have other folder specific .flake8 files, but plan
is to improve the compliance in Tests/ etc and have a
single set of flake8 settings here.

This will allow use to simplify how we run flake8, and
use its provided git pre-commit hook.
@codecov
Copy link

codecov bot commented Apr 19, 2019

Codecov Report

Merging #2018 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2018   +/-   ##
======================================
  Coverage    85.1%   85.1%           
======================================
  Files         314     314           
  Lines       50302   50302           
======================================
  Hits        42809   42809           
  Misses       7493    7493

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 b8b9d8e...c2f5887. Read the comment docs.

@MarkusPiotrowski
Copy link
Contributor

See my last comment on #2014 regarding the per-file-ignores in newer flake8 versions. This should allow to keep some folder specific ignores (for now) with only one .flake8 file.

@peterjc
Copy link
Member Author

peterjc commented Apr 19, 2019

Yes, that's a better solution with flake 3.7 onwards offering more configuration options: #2014 (comment)

@peterjc peterjc closed this Apr 19, 2019
@peterjc peterjc deleted the central_flake8 branch April 19, 2019 15:24
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