chore: first commit
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/venv
|
||||||
|
/venv/*
|
||||||
7
Makefile
Normal file
7
Makefile
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
install:
|
||||||
|
echo ">>> Installing dependencies"
|
||||||
|
pip install --upgrade pip
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
test:
|
||||||
|
python -m pytest -v
|
||||||
4
README.rst
Normal file
4
README.rst
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Python by example
|
||||||
|
=================
|
||||||
|
|
||||||
|
The intention of this repository is to teach me the basics, along with the best or common practiced, of python development.
|
||||||
0
config.json
Normal file
0
config.json
Normal file
6
requirements.txt
Normal file
6
requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
numpy==2.3.3
|
||||||
|
pandas==2.3.3
|
||||||
|
python-dateutil==2.9.0.post0
|
||||||
|
pytz==2025.2
|
||||||
|
six==1.17.0
|
||||||
|
tzdata==2025.2
|
||||||
BIN
tests/__pycache__/test_example.cpython-313-pytest-8.4.2.pyc
Normal file
BIN
tests/__pycache__/test_example.cpython-313-pytest-8.4.2.pyc
Normal file
Binary file not shown.
8
tests/test_example.py
Normal file
8
tests/test_example.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import pytest
|
||||||
|
|
||||||
|
@pytest.fixture
|
||||||
|
def sample_data():
|
||||||
|
return [1, 2, 3]
|
||||||
|
|
||||||
|
def test_sum(sample_data):
|
||||||
|
assert sum(sample_data) == 6
|
||||||
Reference in New Issue
Block a user