From f53e3fcb639f92b93a571f42223c6710bef667ea Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 19 Oct 2025 22:17:24 +0300 Subject: [PATCH] update .gitignore to include additional Python and environment-related files --- .gitignore | 135 +++++++++++++++++++++++++++++++++ src/app/api/v1/counterparty.py | 3 +- 2 files changed, 136 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b1f9b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,135 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +.pdm.toml + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# Macos +.DS_Store + +.ruff_cache + +.idea \ No newline at end of file diff --git a/src/app/api/v1/counterparty.py b/src/app/api/v1/counterparty.py index 5f8709a..1655e46 100644 --- a/src/app/api/v1/counterparty.py +++ b/src/app/api/v1/counterparty.py @@ -3,8 +3,7 @@ from typing import Annotated from fastapi import APIRouter, Depends from ..dependencies import get_tbank_client -from ...lib import TBankClient - +from ...lib.tbank_client import TBankClient router = APIRouter(tags=["counterparty"], prefix="/counterparty") tbank_client_dependency = Annotated[TBankClient, Depends(get_tbank_client)]