Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from master to kyu3 #516

Merged
merged 223 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
e20a205
Merge pull request #482 from iKostanOrg/kyu3
ikostan Oct 19, 2024
3966d88
Merge pull request #483 from iKostanOrg/master
ikostan Oct 19, 2024
e5f077a
Create mypy_kyu2.yml
ikostan Oct 19, 2024
901b7b0
Merge pull request #484 from iKostanOrg/kyu2
ikostan Oct 19, 2024
c161e39
kyu2
ikostan Oct 20, 2024
4ff8349
Update kyu2.yml
ikostan Oct 20, 2024
1342ba8
Merge pull request #485 from iKostanOrg/master
ikostan Oct 20, 2024
f4cecbf
Update kyu2.yml
ikostan Oct 20, 2024
79b7461
Update kyu2.yml
ikostan Oct 20, 2024
0aab58d
Update mypy_kyu2.yml
ikostan Oct 20, 2024
1bf9132
Update pylint_kyu2.yml
ikostan Oct 20, 2024
1e1455e
Update kyu2.yml
ikostan Oct 20, 2024
685b352
Merge pull request #486 from iKostanOrg/kyu2
ikostan Oct 20, 2024
86e308d
Update kyu2.yml
ikostan Oct 20, 2024
ad04127
kyu2
ikostan Oct 20, 2024
b441ad3
Merge pull request #487 from iKostanOrg/kyu2
ikostan Oct 20, 2024
378ed97
Update kyu2.yml
ikostan Oct 20, 2024
446acf6
Merge pull request #488 from iKostanOrg/kyu2
ikostan Oct 20, 2024
2e0d721
Create kyu2_pipeline.yml
ikostan Oct 20, 2024
f02dad2
Update kyu2_pipeline.yml
ikostan Oct 20, 2024
cfc2817
kyu2
ikostan Oct 20, 2024
04541f8
Merge pull request #489 from iKostanOrg/master
ikostan Oct 20, 2024
113c6e2
Merge pull request #490 from iKostanOrg/kyu2
ikostan Oct 20, 2024
28ab82d
Update kyu2_pipeline.yml
ikostan Oct 20, 2024
08d138a
Merge pull request #491 from iKostanOrg/master
ikostan Oct 20, 2024
5100dfd
Merge pull request #492 from iKostanOrg/kyu2
ikostan Oct 20, 2024
3710299
Update kyu2_pipeline.yml
ikostan Oct 20, 2024
288dc69
kyu2
ikostan Oct 20, 2024
8a9629f
Merge branch 'kyu2' of https://github.com/iKostanOrg/codewars into kyu2
ikostan Oct 20, 2024
0b8c11c
delete kyu2
ikostan Oct 20, 2024
8e5d8a1
Merge pull request #494 from iKostanOrg/master
ikostan Oct 20, 2024
28b0fcb
Merge pull request #493 from iKostanOrg/kyu2
ikostan Oct 20, 2024
40ecbe0
Delete kyu2_pipeline.yml
ikostan Oct 20, 2024
a86c676
kyu2
ikostan Oct 20, 2024
9eff485
Update mypy_kyu2.yml
ikostan Oct 20, 2024
3986f2f
Update pylint_kyu2.yml
ikostan Oct 20, 2024
4d26ea3
Update evaluate.py
ikostan Oct 20, 2024
7c9bc7b
Update evaluate.py
ikostan Oct 20, 2024
208be1b
Update evaluate.py
ikostan Oct 20, 2024
fe7b77a
Update evaluate.py
ikostan Oct 20, 2024
01d22c2
Update evaluate.py
ikostan Oct 20, 2024
6b623cd
Merge pull request #495 from iKostanOrg/kyu2
ikostan Oct 20, 2024
dd801c3
Update lint_test_build_pipeline.yml
ikostan Oct 20, 2024
cbdf14e
Create mypy.yml
ikostan Oct 20, 2024
27ab27f
Update mypy.yml
ikostan Oct 20, 2024
1e81c8e
Update mypy.yml
ikostan Oct 20, 2024
f058be0
Update mypy.yml
ikostan Oct 20, 2024
752a34f
Update mypy.yml
ikostan Oct 20, 2024
fae3423
Update mypy.yml
ikostan Oct 20, 2024
64d260d
Merge pull request #497 from iKostanOrg/master
ikostan Oct 20, 2024
5a11d90
Create mypy_kyu4.yml
ikostan Oct 20, 2024
d51e79c
Update mypy_kyu4.yml
ikostan Oct 20, 2024
711e36a
Run mypy kyu_4 --ignore-missing-imports --check-untyped-defs
ikostan Oct 21, 2024
722ca2d
removing train/python from urls
ikostan Oct 21, 2024
8c15a34
minor fixes
ikostan Oct 21, 2024
a5d2ba1
Update README.md
ikostan Oct 21, 2024
a48db95
Update permutations.py
ikostan Oct 21, 2024
47a5e63
Merge pull request #498 from iKostanOrg/kyu4
ikostan Oct 21, 2024
41c6855
Update mypy.yml
ikostan Oct 21, 2024
2c68add
Update mypy.yml
ikostan Oct 21, 2024
3a25405
Merge pull request #499 from iKostanOrg/master
ikostan Oct 21, 2024
41e8d3b
Create mypy_kyu5.yml
ikostan Oct 21, 2024
c880ace
Update README.md
ikostan Oct 21, 2024
33efefe
Update README.md
ikostan Oct 21, 2024
5067bd3
minor changes
ikostan Oct 21, 2024
560ebc3
Update README.md
ikostan Oct 22, 2024
b4dd6c7
Update valid_parentheses.py
ikostan Oct 22, 2024
ef921bd
minor refactoring
ikostan Oct 22, 2024
d1c1c65
Minor refactoring
ikostan Oct 22, 2024
84f840a
Update valid_parentheses.py
ikostan Oct 22, 2024
6893352
Update checker.py
ikostan Oct 22, 2024
5fc695b
Update checker.py
ikostan Oct 22, 2024
464dd4a
Update checker.py
ikostan Oct 22, 2024
2b07503
Update checker.py
ikostan Oct 22, 2024
691244f
Update checker.py
ikostan Oct 22, 2024
83c3fdc
Update hashtag_generator.py
ikostan Oct 22, 2024
f14a652
Update compute_ranks.py
ikostan Oct 22, 2024
ddbd81a
Update compute_ranks.py
ikostan Oct 22, 2024
9e66550
Update checker.py
ikostan Oct 22, 2024
3280a83
Update make_readable.py
ikostan Oct 22, 2024
4b495fb
Update checker.py
ikostan Oct 22, 2024
54f1949
Update ips_between.py
ikostan Oct 22, 2024
18b9a34
Update alphabet_war.py
ikostan Oct 22, 2024
7970dc0
Update test_flatten.py
ikostan Oct 22, 2024
40f2ac0
Update test_advice.py
ikostan Oct 22, 2024
a0e8341
Update test_smallest.py
ikostan Oct 22, 2024
bfdcd7a
Update compute_ranks.py
ikostan Oct 22, 2024
a711f04
Update test_battle.py
ikostan Oct 22, 2024
1741abe
Merge pull request #500 from iKostanOrg/kyu5
ikostan Oct 22, 2024
4c6f4d6
Merge pull request #501 from iKostanOrg/master
ikostan Oct 22, 2024
a8c4019
Create mypy_kyu6.yml
ikostan Oct 22, 2024
d48f932
Update README.md
ikostan Oct 23, 2024
70a33c7
minor refactoring
ikostan Oct 23, 2024
b583309
minor refactoring
ikostan Oct 23, 2024
5cb5583
minor refactoring
ikostan Oct 23, 2024
6bb6fd0
minor refactoring
ikostan Oct 23, 2024
6638397
Update README.md
ikostan Oct 23, 2024
dec6671
Update test_duplicate_encode.py
ikostan Oct 23, 2024
bbf3dff
Update test_character_frequency.py
ikostan Oct 23, 2024
90c6c46
Minor refactoring
ikostan Oct 23, 2024
a7dd5d5
minor refactoring
ikostan Oct 23, 2024
20fac71
Update test_count_letters_in_string.py
ikostan Oct 23, 2024
7d5b701
Update test_default_list.py
ikostan Oct 23, 2024
ca5a6b2
Update test_default_list.py
ikostan Oct 23, 2024
4169163
Update test_default_list.py
ikostan Oct 23, 2024
5acb4cd
Update test_pyramid_array.py
ikostan Oct 23, 2024
8fda843
Update test_potion.py
ikostan Oct 23, 2024
511f844
Update README.md
ikostan Oct 23, 2024
5650b59
Update test_namelist.py
ikostan Oct 23, 2024
429bb1f
Update README.md
ikostan Oct 23, 2024
4a2a28a
Update test_stock_list.py
ikostan Oct 23, 2024
e4e296d
Update test_longest_repetition.py
ikostan Oct 23, 2024
8e8b348
Update test_default_list.py
ikostan Oct 23, 2024
4e4fc3f
Update test_has_subpattern.py
ikostan Oct 23, 2024
1f70cdf
Update test_has_subpattern.py
ikostan Oct 23, 2024
c0115d3
Update group_cities.py
ikostan Oct 24, 2024
237c6df
Update README.md
ikostan Oct 24, 2024
676a972
Update README.md
ikostan Oct 24, 2024
6e23183
Update test_solution.py
ikostan Oct 24, 2024
7dd844e
Update README.md
ikostan Oct 24, 2024
b6444fc
Update test_sequence.py
ikostan Oct 24, 2024
8652d14
Update README.md
ikostan Oct 24, 2024
c00c5e9
Update test_find_missing_number.py
ikostan Oct 24, 2024
00b3cea
Update README.md
ikostan Oct 24, 2024
8d121b0
Update test_numericals.py
ikostan Oct 24, 2024
fe4a87c
Update README.md
ikostan Oct 24, 2024
3f0dfac
Update test_permute_a_palindrome.py
ikostan Oct 24, 2024
f57b3ae
Update README.md
ikostan Oct 24, 2024
da9034a
Update test_calculate_damage.py
ikostan Oct 24, 2024
bd36b1d
Update README.md
ikostan Oct 24, 2024
7b1c8c6
Update test_group_cities.py
ikostan Oct 24, 2024
6b3ef15
Update README.md
ikostan Oct 24, 2024
33047d1
Update test_odd_row.py
ikostan Oct 24, 2024
a03cd05
Update README.md
ikostan Oct 24, 2024
0bf1167
Update test_sort_array.py
ikostan Oct 24, 2024
59f41e6
Update README.md
ikostan Oct 24, 2024
973d5f5
Update README.md
ikostan Oct 24, 2024
f536181
Update test_has_subpattern.py
ikostan Oct 24, 2024
a46ad89
Update README.md
ikostan Oct 24, 2024
60fd082
Update README.md
ikostan Oct 24, 2024
1ba9f89
Update test_string_transformer.py
ikostan Oct 24, 2024
6329874
Update README.md
ikostan Oct 24, 2024
fcbafd0
Update test_digital_root.py
ikostan Oct 24, 2024
0703975
Update README.md
ikostan Oct 24, 2024
c4de22f
Update test_unique_in_order.py
ikostan Oct 24, 2024
a4be6f9
Update test_tickets.py
ikostan Oct 24, 2024
8c117db
Update README.md
ikostan Oct 24, 2024
dc961ff
minor refactoring
ikostan Oct 24, 2024
981a34d
Update first_character_that_repeats.py
ikostan Oct 24, 2024
63265d6
Update duplicate_encode.py
ikostan Oct 24, 2024
96ca374
Update character_frequency.py
ikostan Oct 24, 2024
d3f5c1a
Update solve.py
ikostan Oct 24, 2024
c77af3b
Update first_character_that_repeats.py
ikostan Oct 24, 2024
f978893
Merge pull request #502 from iKostanOrg/kyu6
ikostan Oct 24, 2024
8425fe9
Update test_decoding.py
ikostan Oct 24, 2024
e1e9efb
Update test_string_transformer.py
ikostan Oct 24, 2024
9e4c222
Merge pull request #503 from iKostanOrg/master
ikostan Oct 24, 2024
e571a55
Create mypy_kyu7.yml
ikostan Oct 24, 2024
8326a91
Update test_vaporcode.py
ikostan Oct 24, 2024
8d94fc2
Update test_sum_of_numbers.py
ikostan Oct 24, 2024
8e3d9b1
Update test_sum_triangular_numbers.py
ikostan Oct 24, 2024
46d52e7
Update first_non_repeated.py
ikostan Oct 24, 2024
0b54f60
Update test_largest_power.py
ikostan Oct 24, 2024
d3b693c
Update easyline.py
ikostan Oct 24, 2024
6a4abb9
Update easyline.py
ikostan Oct 24, 2024
87ae8c7
Update easyline.py
ikostan Oct 24, 2024
ec6e531
Update number_of_sigfigs.py
ikostan Oct 24, 2024
d93894d
Update two_decimal_places.py
ikostan Oct 24, 2024
5b70487
Update calculate.py
ikostan Oct 24, 2024
241cc9f
Update test_sum_of_numbers.py
ikostan Oct 24, 2024
443a58f
Update two_decimal_places.py
ikostan Oct 24, 2024
42a2daa
Merge pull request #504 from iKostanOrg/kyu7
ikostan Oct 24, 2024
9222e86
Merge pull request #505 from iKostanOrg/master
ikostan Oct 25, 2024
ca52393
Create mypy_kyu8.yml
ikostan Oct 25, 2024
521b40e
Update test_first_non_consecutive.py
ikostan Oct 29, 2024
5624d4d
Update test_first_non_consecutive.py
ikostan Oct 29, 2024
0c2a33c
Update test_is_your_period_late.py
ikostan Oct 29, 2024
8fd2705
Update test_logical_calculator.py
ikostan Oct 29, 2024
f579243
Update test_third_angle_of_triangle.py
ikostan Oct 29, 2024
5bd6344
Update test_remove_string_spaces.py
ikostan Oct 29, 2024
3c813cd
Update test_remove_char.py
ikostan Oct 29, 2024
aa3b455
Update test_terminal_game_move_function.py
ikostan Oct 29, 2024
c9558ca
Update test_wolf_in_sheep_clothing.py
ikostan Oct 29, 2024
613c2a5
Update test_get_size.py
ikostan Oct 29, 2024
cb12f63
Update test_messi_goals_function.py
ikostan Oct 29, 2024
2d70f44
Update README.md
ikostan Oct 29, 2024
8b39992
Update test_grasshopper_personalized_message.py
ikostan Oct 29, 2024
336e730
Update first_non_consecutive.py
ikostan Oct 30, 2024
07d82b4
Update check_exam.py
ikostan Oct 30, 2024
2ef9ca1
Update test_reversed_strings.py
ikostan Oct 30, 2024
8fa240f
Update test_first_non_consecutive.py
ikostan Oct 30, 2024
907b0d3
Merge pull request #506 from iKostanOrg/kyu8
ikostan Oct 30, 2024
9c4d353
Create flake8.yml
ikostan Oct 30, 2024
09930f8
Update lint_test_build_pipeline.yml
ikostan Oct 30, 2024
c3e7883
Merge pull request #507 from iKostanOrg/master
ikostan Oct 30, 2024
29530b5
Create flake8_kyu2.yml
ikostan Oct 30, 2024
db5afec
Update flake8.yml
ikostan Oct 30, 2024
2d35560
Update flake8_kyu2.yml
ikostan Oct 30, 2024
5e7b3d6
Update flake8.yml
ikostan Oct 30, 2024
0b23dfd
Update mypy.yml
ikostan Oct 30, 2024
34d5d3e
Merge pull request #508 from iKostanOrg/kyu2
ikostan Oct 30, 2024
1e44093
Update lint_test_build_pipeline.yml
ikostan Oct 30, 2024
0a1e0b7
Merge pull request #509 from iKostanOrg/master
ikostan Oct 30, 2024
21fb8fd
Update flake8_kyu2.yml
ikostan Oct 30, 2024
fb895ad
Update flake8_kyu2.yml
ikostan Oct 30, 2024
b84e12f
Update flake8_kyu2.yml
ikostan Oct 30, 2024
b166e7c
Update flake8_kyu2.yml
ikostan Oct 30, 2024
3e6ed65
C901 'normalize_string' is too complex (12)
ikostan Oct 30, 2024
f9e9fd6
Update evaluate.py
ikostan Oct 30, 2024
8aa12d9
Update evaluate.py
ikostan Oct 30, 2024
752e3ab
Update evaluate.py
ikostan Oct 30, 2024
e5441c5
Update evaluate.py
ikostan Oct 30, 2024
ab5f545
Update evaluate.py
ikostan Oct 30, 2024
86d1f9b
Update evaluate.py
ikostan Oct 30, 2024
8a8a248
Update evaluate.py
ikostan Oct 30, 2024
c260c5c
Update evaluate.py
ikostan Oct 30, 2024
527229f
Update evaluate.py
ikostan Oct 30, 2024
4649c74
Update evaluate.py
ikostan Oct 30, 2024
73b87dd
Update evaluate.py
ikostan Oct 30, 2024
6ffe569
Update evaluate.py
ikostan Oct 30, 2024
cb13be1
Update evaluate.py
ikostan Oct 30, 2024
25db014
Update evaluate.py
ikostan Oct 30, 2024
eb521f1
Merge pull request #510 from iKostanOrg/kyu2
ikostan Oct 30, 2024
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
49 changes: 49 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Flake8

on:
push:
branches:
- 'utils'
- 'none'
workflow_call:

permissions:
contents: read
pull-requests: read

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up Python,
# not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current
# Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install flake8
- name: Check to make sure that the module is in your Python path
run: |
echo $PYTHONPATH
- name: Lint with flake8
# yamllint disable rule:line-length
# stop the build if there are Python syntax errors or undefined names
# exit-zero treats all errors as warnings.
# The GitHub editor is 127 chars wide
run: |
flake8 . --count --select=E9,F63,F7,F82 --doctests --show-source --statistics
flake8 . --count --max-complexity=10 --max-line-length=127 --benchmark --show-source --statistics
# yamllint enable rule:line-length
47 changes: 47 additions & 0 deletions .github/workflows/flake8_kyu2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Flake8 for kyu2

on:
push:
branches:
- 'kyu2'

permissions:
contents: read
pull-requests: read

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up Python,
# not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current
# Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install flake8
- name: Check to make sure that the module is in your Python path
run: |
echo $PYTHONPATH
- name: Lint with flake8
# yamllint disable rule:line-length
# stop the build if there are Python syntax errors or undefined names
# exit-zero treats all errors as warnings.
# The GitHub editor is 127 chars wide
run: |
flake8 --count --select=E9,F63,F7,F82 --doctests --show-source --statistics ./kyu_2
flake8 --count --max-complexity=10 --max-line-length=127 --benchmark --show-source --statistics ./kyu_2
# yamllint enable rule:line-length
8 changes: 7 additions & 1 deletion .github/workflows/lint_test_build_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@ jobs:
uses: iKostanOrg/codewars/.github/workflows/markdown_lint.yml@master
pyint:
name: PyLint
uses: iKostanOrg/codewars/.github/workflows/pylint.yml@master
uses: iKostanOrg/codewars/.github/workflows/pylint.yml@master
mypy:
name: MyPy Lint
uses: iKostanOrg/codewars/.github/workflows/mypy.yml@master
flake8:
name: Flake8 Lint
uses: iKostanOrg/codewars/.github/workflows/flake8.yml@master
65 changes: 65 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: MyPy Lint

on:
push:
branches:
- 'utils'
- 'none'
workflow_call:

permissions:
contents: read
pull-requests: read

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up Python,
# not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install mypy
pip install types-requests
- name: Check to make sure that the module is in your Python path
run: |
echo $PYTHONPATH
- name: kyu2 Python Data Type Checking with MyPy
# Python Type Checking (Guide)
# https://realpython.com/python-type-checking/
run: |
mypy kyu_2 --ignore-missing-imports --check-untyped-defs
- name: kyu_3 Python Data Type Checking with MyPy
run: |
mypy kyu_3 --ignore-missing-imports --check-untyped-defs
- name: kyu_4 Python Data Type Checking with MyPy
run: |
mypy kyu_4 --ignore-missing-imports --check-untyped-defs
- name: kyu_5 Python Data Type Checking with MyPy
run: |
mypy kyu_5 --ignore-missing-imports --check-untyped-defs
- name: kyu_6 Python Data Type Checking with MyPy
run: |
mypy kyu_6 --ignore-missing-imports --check-untyped-defs
- name: kyu_7 Python Data Type Checking with MyPy
run: |
mypy kyu_7 --ignore-missing-imports --check-untyped-defs
- name: kyu_8 Python Data Type Checking with MyPy
run: |
mypy kyu_8 --ignore-missing-imports --check-untyped-defs
- name: utils Python Data Type Checking with MyPy
run: |
mypy utils --ignore-missing-imports --check-untyped-defs
42 changes: 42 additions & 0 deletions .github/workflows/mypy_kyu2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: MyPy for kyu2

on:
push:
branches:
- 'kyu2'

permissions:
contents: read
pull-requests: read

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up Python,
# not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install mypy
pip install types-requests
- name: Check to make sure that the module is in your Python path
run: |
echo $PYTHONPATH
- name: Python Data Type Checking with MyPy
# Python Type Checking (Guide)
# https://realpython.com/python-type-checking/
run: |
mypy kyu_2 --ignore-missing-imports --check-untyped-defs
38 changes: 38 additions & 0 deletions .github/workflows/mypy_kyu4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: MyPy for kyu4

on:
push:
branches:
- 'kyu4'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up Python,
# not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install mypy
pip install types-requests
- name: Check to make sure that the module is in your Python path
run: |
echo $PYTHONPATH
- name: Python Data Type Checking with MyPy
# Python Type Checking (Guide)
# https://realpython.com/python-type-checking/
run: |
mypy kyu_4 --ignore-missing-imports --check-untyped-defs
38 changes: 38 additions & 0 deletions .github/workflows/mypy_kyu5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: MyPy for kyu5

on:
push:
branches:
- 'kyu5'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up Python,
# not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install mypy
pip install types-requests
- name: Check to make sure that the module is in your Python path
run: |
echo $PYTHONPATH
- name: Python Data Type Checking with MyPy
# Python Type Checking (Guide)
# https://realpython.com/python-type-checking/
run: |
mypy kyu_5 --ignore-missing-imports --check-untyped-defs
38 changes: 38 additions & 0 deletions .github/workflows/mypy_kyu6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: MyPy for kyu6

on:
push:
branches:
- 'kyu6'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up Python,
# not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install mypy
pip install types-requests
- name: Check to make sure that the module is in your Python path
run: |
echo $PYTHONPATH
- name: Python Data Type Checking with MyPy
# Python Type Checking (Guide)
# https://realpython.com/python-type-checking/
run: |
mypy kyu_6 --ignore-missing-imports --check-untyped-defs
38 changes: 38 additions & 0 deletions .github/workflows/mypy_kyu7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: MyPy for kyu7

on:
push:
branches:
- 'kyu7'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up Python,
# not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install mypy
pip install types-requests
- name: Check to make sure that the module is in your Python path
run: |
echo $PYTHONPATH
- name: Python Data Type Checking with MyPy
# Python Type Checking (Guide)
# https://realpython.com/python-type-checking/
run: |
mypy kyu_7 --ignore-missing-imports --check-untyped-defs
Loading
Loading