Compare commits
No commits in common. "vigenere_cipher_helper" and "master" have entirely different histories.
vigenere_c
...
master
@ -13,6 +13,6 @@ repos:
|
|||||||
- id: ruff # Linting
|
- id: ruff # Linting
|
||||||
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 24.4.2
|
rev: stable
|
||||||
hooks:
|
hooks:
|
||||||
- id: black # formatting
|
- id: black # formatting
|
||||||
|
|||||||
10
moduleA.py
10
moduleA.py
@ -1,10 +0,0 @@
|
|||||||
def addition(a=1, b=2):
|
|
||||||
return a + b
|
|
||||||
|
|
||||||
|
|
||||||
def f(x: int, y: int) -> int:
|
|
||||||
return x + y
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
print(addition(5, 5))
|
|
||||||
@ -1,2 +1,3 @@
|
|||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
pythonpath = ["."]
|
pythonpath = ["."]
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
from src.moduleA import addition
|
|
||||||
|
|
||||||
|
|
||||||
def test_a():
|
|
||||||
assert addition() == 3
|
|
||||||
assert addition(5, 5) == 10
|
|
||||||
Loading…
x
Reference in New Issue
Block a user