mirror of
https://github.com/neuml/txtai.git
synced 2026-10-11 21:39:55 +00:00
Add dev requirements, pre-commit hooks and psf black config for #50
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/pycqa/pylint
|
||||||
|
rev: pylint-2.6.0
|
||||||
|
hooks:
|
||||||
|
- id: pylint
|
||||||
|
- repo: https://github.com/ambv/black
|
||||||
|
rev: stable
|
||||||
|
hooks:
|
||||||
|
- id: black
|
||||||
|
language_version: python3
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[tool.black]
|
||||||
|
line-length = 150
|
||||||
@@ -5,7 +5,7 @@ with open("README.md", "r") as f:
|
|||||||
DESCRIPTION = f.read()
|
DESCRIPTION = f.read()
|
||||||
|
|
||||||
setup(name="txtai",
|
setup(name="txtai",
|
||||||
version="2.0.0",
|
version="2.1.0",
|
||||||
author="NeuML",
|
author="NeuML",
|
||||||
description="AI-powered search engine",
|
description="AI-powered search engine",
|
||||||
long_description=DESCRIPTION,
|
long_description=DESCRIPTION,
|
||||||
@@ -39,6 +39,14 @@ setup(name="txtai",
|
|||||||
"transformers>=4.1.1",
|
"transformers>=4.1.1",
|
||||||
"uvicorn>=0.12.1"
|
"uvicorn>=0.12.1"
|
||||||
],
|
],
|
||||||
|
extras_require={
|
||||||
|
"dev": [
|
||||||
|
"black",
|
||||||
|
"coverage",
|
||||||
|
"pre-commit",
|
||||||
|
"pylint"
|
||||||
|
]
|
||||||
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"License :: OSI Approved :: Apache Software License",
|
"License :: OSI Approved :: Apache Software License",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
|
|||||||
Reference in New Issue
Block a user