Skip to content

Script for git pre-commit hook linting (flake8 and pydocstyle) - #1188

Closed
peterjc wants to merge 9 commits into
biopython:masterfrom
peterjc:pre_commit_linting
Closed

peterjc wants to merge 9 commits into
biopython:masterfrom
peterjc:pre_commit_linting

Conversation

@peterjc

@peterjc peterjc commented Apr 24, 2017

Copy link
Copy Markdown
Member

Would close #493, and is based on the script proposed by @cbrueffer - cross reference discussion on #883

@peterjc
peterjc force-pushed the pre_commit_linting branch from 3d03975 to e9eacfb Compare April 24, 2017 12:18
@codecov

codecov Bot commented Apr 24, 2017 •

Copy link
Copy Markdown

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1188   +/-   ##
=======================================
  Coverage   79.95%   79.95%           
=======================================
  Files         323      323           
  Lines       51477    51477           
=======================================
  Hits        41157    41157           
  Misses      10320    10320

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 76dae34...c375d4e. Read the comment docs.

@peterjc
peterjc force-pushed the pre_commit_linting branch from 60b4181 to c375d4e Compare May 2, 2017 13:32
@peterjc

peterjc commented May 2, 2017

Copy link
Copy Markdown
Member Author

Just updated to use the .flake8 files (discarding an earlier update also using our .pydocstyle in the expectation of merging #1199) meaning the same configuration as our TravisCI/Tox style checks.

@peterjc peterjc changed the title Script for git pre-commit linting (flake8 and pydocstyle) Script for git pre-commit hook linting (flake8 and pydocstyle) May 4, 2017
@peterjc

peterjc commented May 23, 2019

Copy link
Copy Markdown
Member Author

As of #2074 which moved to a single top level .flake8 file, this bespoke script is no longer needed.

@peterjc peterjc closed this May 23, 2019
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.

Enforce basic PEP8 style with a pre-commit git hook

1 participant