Skip to content

Commit 3113a8f

Browse files
committed
use python3.8 in CI and run test generator
1 parent db7ed77 commit 3113a8f

File tree

106 files changed

+431
-173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+431
-173
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v2
1818

19-
- name: Set up Python 3.7
19+
- name: Set up Python
2020
uses: actions/setup-python@v2.2.1
2121
with:
22-
python-version: 3.7
22+
python-version: 3.8
2323

2424
- name: Download & Install dependencies
2525
run: |

exercises/practice/acronym/acronym_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import unittest
22

3-
from acronym import abbreviate
3+
from acronym import (
4+
abbreviate,
5+
)
46

57
# Tests adapted from `problem-specifications//canonical-data.json`
68

exercises/practice/affine-cipher/affine_cipher_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import unittest
22

3-
from affine_cipher import decode, encode
3+
from affine_cipher import (
4+
decode,
5+
encode,
6+
)
47

58
# Tests adapted from `problem-specifications//canonical-data.json`
69

exercises/practice/all-your-base/all_your_base_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import unittest
22

3-
from all_your_base import rebase
3+
from all_your_base import (
4+
rebase,
5+
)
46

57
# Tests adapted from `problem-specifications//canonical-data.json`
68

exercises/practice/allergies/allergies_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import unittest
22

3-
from allergies import Allergies
3+
from allergies import (
4+
Allergies,
5+
)
46

57
# Tests adapted from `problem-specifications//canonical-data.json`
68

exercises/practice/alphametics/alphametics_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import unittest
22

3-
from alphametics import solve
3+
from alphametics import (
4+
solve,
5+
)
46

57
# Tests adapted from `problem-specifications//canonical-data.json`
68

exercises/practice/anagram/anagram_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import unittest
22

3-
from anagram import find_anagrams
3+
from anagram import (
4+
find_anagrams,
5+
)
46

57
# Tests adapted from `problem-specifications//canonical-data.json`
68

exercises/practice/armstrong-numbers/armstrong_numbers_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import unittest
22

3-
from armstrong_numbers import is_armstrong_number
3+
from armstrong_numbers import (
4+
is_armstrong_number,
5+
)
46

57
# Tests adapted from `problem-specifications//canonical-data.json`
68

exercises/practice/atbash-cipher/atbash_cipher_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import unittest
22

3-
from atbash_cipher import decode, encode
3+
from atbash_cipher import (
4+
decode,
5+
encode,
6+
)
47

58
# Tests adapted from `problem-specifications//canonical-data.json`
69

exercises/practice/beer-song/beer_song_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import unittest
22

3-
from beer_song import recite
3+
from beer_song import (
4+
recite,
5+
)
46

57
# Tests adapted from `problem-specifications//canonical-data.json`
68

0 commit comments

Comments
 (0)