Skip to content
Merged
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
2 changes: 1 addition & 1 deletion pyenigma/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _encipher_letter(self, letter: str) -> str:

@staticmethod
def _next_letter(letter: str) -> str:
letter.upper()
letter = letter.upper()
if letter == 'Z':
return 'A'
else:
Expand Down
1 change: 0 additions & 1 deletion pyenigma/reflector.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import logging
import re
from pyenigma.constants import ALPHABET, REFLECTOR_WIRING
from pyenigma.exceptions import (
ReflectorWiringWrongLengthException,
Expand Down
1 change: 0 additions & 1 deletion pyenigma/rotor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import logging
from math import e
from pyenigma.constants import ALPHABET, ROTOR_WIRING, ROTOR_NOTCHES
from pyenigma.exceptions import (
RotorWiringWrongLengthException,
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dev = [
"pytest>=8.0",
"mypy>=1.0",
"coverage>=7.0",
"hypothesis>=6.141.1",
]

[tool.hatch.version]
Expand Down
Loading
Loading