Skip to content

Move Bio/.flake8 to top level - #2018

Closed
peterjc wants to merge 1 commit into
biopython:masterfrom
peterjc:central_flake8
Closed

peterjc wants to merge 1 commit into
biopython:masterfrom
peterjc:central_flake8

Conversation

@peterjc

@peterjc peterjc commented Apr 19, 2019

Copy link
Copy Markdown
Member

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

codecov Bot commented Apr 19, 2019

Copy link
Copy Markdown

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
Copy Markdown
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

peterjc commented Apr 19, 2019 •

Copy link
Copy Markdown
Member Author

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.

2 participants