Skip to content

Commit

Permalink
Merge pull request #6 from rosalindfranklininstitute/pre-commit_defau…
Browse files Browse the repository at this point in the history
…lt_hooks

Addition of QOL hooks
  • Loading branch information
jmp1985 authored Feb 2, 2024
2 parents 4d3a3f5 + 75da25f commit c71b0f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions src/template/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c71b0f4

Please sign in to comment.