Skip to content

Commit bd4f322

Browse files
committed
fix: ruff config
1 parent 70677e3 commit bd4f322

6 files changed

Lines changed: 3 additions & 5 deletions

File tree

algorithms/recursion/sudoku_solver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Union,
44
)
55

6-
76
# Fixes for mypy
87
count_numbers_added: int
98
count_numbers_backtracked: int

algorithms/sequences/fibonacci_sequence.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22
from typing import Iterator
33

4-
54
"""
65
FIBONACCI SEQUENCE
76

algorithms/sequences/fizzbuzz.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22

3-
43
"""
54
FIZZBUZZ
65

algorithms/sorting/bubble_sort.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from datetime import datetime
22
from typing import List
33

4-
54
"""
65
BUBBLE SORT
76

algorithms/sorting/wordle_solver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
List,
1111
)
1212

13-
1413
# Solve the daily Wordle puzzles from https://www.powerlanguage.co.uk/wordle/
1514
# Usage: venv/bin/python algorithms/sorting/wordle_solver.py
1615
# Instructions: Re-run the script each time you take a guess, fill in the following

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ algorithms = ["py.typed"]
2828
[tool.ruff]
2929
line-length = 120
3030

31+
[tool.ruff.lint]
32+
extend-select = ["I", "E501"]
33+
3134
[tool.mypy]
3235
disable_error_code = "import-untyped"

0 commit comments

Comments
 (0)