Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 # Jan 19, 2023
rev: v5.0.0 # Jan 19, 2023
hooks:
- id: trailing-whitespace
- id: check-added-large-files
Expand All @@ -14,12 +14,12 @@ repos:
- id: python-use-type-annotations

- repo: https://github.com/pycqa/flake8
rev: 6.0.0 # Nov 23, 2022
rev: 7.1.1 # Nov 23, 2022
hooks:
- id: flake8
args: ['--ignore=W503,W504,F401,E121,E123,E126,E133']

- repo: https://github.com/psf/black
rev: 22.12.0 # Dec 22, 2022
rev: 25.1.0 # Dec 22, 2022
hooks:
- id: black
2 changes: 1 addition & 1 deletion exercises/exercise1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Exercise Description: Returns a Hello World! string """
"""Exercise Description: Returns a Hello World! string"""


def hello_world() -> str:
Expand Down
2 changes: 1 addition & 1 deletion exercises/exercise2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Exercise Description: Returns a Hello World! string """
"""Exercise Description: Returns a Hello World! string"""


def hello_world() -> str:
Expand Down
2 changes: 1 addition & 1 deletion exercises/exercise3.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Exercise Description: Returns a Hello World! string """
"""Exercise Description: Returns a Hello World! string"""


def hello_world() -> str:
Expand Down
2 changes: 1 addition & 1 deletion exercises/exercise4.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Exercise Description: Returns a Hello World! string """
"""Exercise Description: Returns a Hello World! string"""


def hello_world() -> str:
Expand Down
1 change: 1 addition & 0 deletions tests/exercise1_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test Suite for Exercise 1"""

import doctest


Expand Down
1 change: 1 addition & 0 deletions tests/exercise3_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test Suite for Exercise 3"""

import doctest


Expand Down