awslabs / amazon-transcribe-streaming-sdk

The Amazon Transcribe Streaming SDK is an async Python SDK for converting audio into text via Amazon Transcribe.
Apache License 2.0
140 stars 38 forks source link

Add pre-commit setup #55

Closed nateprewitt closed 2 years ago

nateprewitt commented 2 years ago

Adding in a new tool for development, pre-commit. This will allow us to quickly create a .githook in the repository for fresh clones that runs black, flake8 and mypy before each commit is made.

Added general guidance to the CONTRIBUTING.md guide as well for anyone looking to make a contribution.

codecov-commenter commented 2 years ago

Codecov Report

Merging #55 (1e4a225) into develop (ea86a8a) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #55   +/-   ##
========================================
  Coverage    88.77%   88.77%           
========================================
  Files           34       34           
  Lines         1925     1925           
========================================
  Hits          1709     1709           
  Misses         216      216           
Flag Coverage Δ
unittests 88.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 ea86a8a...1e4a225. Read the comment docs.