diff --git a/Makefile b/Makefile index b155f2d..1c69079 100644 --- a/Makefile +++ b/Makefile @@ -5,5 +5,5 @@ help: format: ## Format Python black --exclude="/(dist|build|__pycache__|venv|\.git)/" . -test: ## Run tests +run.test: ## Run tests pytest test/ diff --git a/fiable_db.py b/fiable_db.py index 3b244fc..7d27fee 100644 --- a/fiable_db.py +++ b/fiable_db.py @@ -1,5 +1,6 @@ FILE = "fiabledb.json" + def start(file=False): - file_name = file if file else FILE - print(file_name) + file_name = file if file else FILE + print(file_name) diff --git a/setup.py b/setup.py index b6aedd3..c3269f2 100644 --- a/setup.py +++ b/setup.py @@ -1,19 +1,20 @@ from setuptools import setup + setup( - name = 'fiable_db', - py_modules=['fiable_db'], - version = 'VERSION', - python_requires='>3.7', - description = ' Immutable NoSQL database in a plain file ', - author = 'Andros Fenollosa', - author_email = 'andros@fenollosa.email', - url = 'https://github.com/tanrax/fiableDB', - keywords = ['database', 'immutable', 'nosql', 'json'], - classifiers=[ + name="fiable_db", + py_modules=["fiable_db"], + version="VERSION", + python_requires=">3.7", + description=" Immutable NoSQL database in a plain file ", + author="Andros Fenollosa", + author_email="andros@fenollosa.email", + url="https://github.com/tanrax/fiableDB", + keywords=["database", "immutable", "nosql", "json"], + classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", - ], - install_requires=[], - entry_points='' + ], + install_requires=[], + entry_points="", )