Skip to content

Comments

Apply isort/black formatting in pre-commit (pytest only checks)#13

Merged
JacobHayes merged 1 commit intogoldenfrom
format-in-precommit
Mar 16, 2021
Merged

Apply isort/black formatting in pre-commit (pytest only checks)#13
JacobHayes merged 1 commit intogoldenfrom
format-in-precommit

Conversation

@JacobHayes
Copy link
Member

The pre-commit pytest run only checks the files for isort/black diff but doesn't apply the changes, meaning devs have to apply/run manually after. By running them first in pre-commit, the dev now only has to git add the changes.

@JacobHayes JacobHayes self-assigned this Mar 11, 2021
@JacobHayes JacobHayes requested a review from joycex99 March 11, 2021 16:29
@codecov
Copy link

codecov bot commented Mar 11, 2021

Codecov Report

Merging #13 (815ef33) into golden (d69661b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            golden       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            2         2           
=========================================
  Hits             2         2           

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 732a050...815ef33. Read the comment docs.

@JacobHayes JacobHayes force-pushed the format-in-precommit branch from 7258c2a to 815ef33 Compare March 16, 2021 21:09
@JacobHayes JacobHayes merged commit 6408d76 into golden Mar 16, 2021
@JacobHayes JacobHayes deleted the format-in-precommit branch March 16, 2021 21:18
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.

1 participant