From 3520c9534a9d66b644e1467fa6a16443d12615e3 Mon Sep 17 00:00:00 2001 From: = Date: Fri, 26 Jan 2024 15:11:26 +0000 Subject: [PATCH 1/2] Addition of QOL hooks These hooks are generally good quality of life hooks that makes the code base cleaner. --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fca6ff..6b9366a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,6 +8,12 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.1.0 hooks: + - id: check-added-large-files + - id: trailing-whitespace + - id: end-of-file-fixer + - id: debug-statements + - id: name-tests-test + - id: requirements-txt-fixer - id: flake8 args: ['--max-line-length=88', '--select=W291,W292,W293,F401'] language_version: python3 From 75da25f81af3371fc68144429b953b4541972055 Mon Sep 17 00:00:00 2001 From: James Parkhurst Date: Fri, 2 Feb 2024 04:35:27 +0000 Subject: [PATCH 2/2] Blackened --- src/template/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/template/__init__.py b/src/template/__init__.py index 1ecf8c6..4d5004d 100644 --- a/src/template/__init__.py +++ b/src/template/__init__.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. + def example(a, b): """ This is an example function that add the values of a and b