maettubfh commited on
Commit
86c6b7a
1 Parent(s): c968e7e

added pre-commit hooks

Browse files
Files changed (3) hide show
  1. .pre-commit-config.yaml +13 -0
  2. poetry.lock +213 -1
  3. pyproject.toml +4 -1
.pre-commit-config.yaml ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v3.2.0
4
+ hooks:
5
+ - id: trailing-whitespace
6
+ - id: end-of-file-fixer
7
+ - id: check-yaml
8
+ - id: check-added-large-files
9
+
10
+ - repo: https://github.com/psf/black
11
+ rev: 22.10.0
12
+ hooks:
13
+ - id: black
poetry.lock CHANGED
@@ -211,6 +211,55 @@ docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-
211
  tests = ["attrs[tests-no-zope]", "zope.interface"]
212
  tests-no-zope = ["cloudpickle", "cloudpickle", "hypothesis", "hypothesis", "mypy (>=0.971,<0.990)", "mypy (>=0.971,<0.990)", "pympler", "pympler", "pytest (>=4.3.0)", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-mypy-plugins", "pytest-xdist[psutil]", "pytest-xdist[psutil]"]
213
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  [[package]]
215
  name = "certifi"
216
  version = "2022.12.7"
@@ -223,6 +272,18 @@ files = [
223
  {file = "certifi-2022.12.7.tar.gz", hash = "sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3"},
224
  ]
225
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  [[package]]
227
  name = "charset-normalizer"
228
  version = "3.1.0"
@@ -422,6 +483,18 @@ files = [
422
  {file = "cycler-0.11.0.tar.gz", hash = "sha256:9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f"},
423
  ]
424
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  [[package]]
426
  name = "entrypoints"
427
  version = "0.4"
@@ -779,6 +852,21 @@ testing = ["InquirerPy (==0.3.4)", "Jinja2", "Pillow", "jedi", "pytest", "pytest
779
  torch = ["torch"]
780
  typing = ["types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3"]
781
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
782
  [[package]]
783
  name = "idna"
784
  version = "3.4"
@@ -1192,6 +1280,33 @@ files = [
1192
  {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"},
1193
  ]
1194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1195
  [[package]]
1196
  name = "numpy"
1197
  version = "1.24.2"
@@ -1375,6 +1490,18 @@ sql-other = ["SQLAlchemy (>=1.4.16)"]
1375
  test = ["hypothesis (>=6.34.2)", "pytest (>=7.0.0)", "pytest-asyncio (>=0.17.0)", "pytest-xdist (>=2.2.0)"]
1376
  xml = ["lxml (>=4.6.3)"]
1377
 
 
 
 
 
 
 
 
 
 
 
 
 
1378
  [[package]]
1379
  name = "pillow"
1380
  version = "9.5.0"
@@ -1455,6 +1582,41 @@ files = [
1455
  docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-removed-in", "sphinxext-opengraph"]
1456
  tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"]
1457
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1458
  [[package]]
1459
  name = "pydantic"
1460
  version = "1.10.7"
@@ -1702,6 +1864,23 @@ files = [
1702
  dev = ["Django (>=1.11)", "check-manifest", "colorama (<=0.4.1)", "coverage", "flake8", "nose2", "readme-renderer (<25.0)", "tox", "wheel", "zest.releaser[recommended]"]
1703
  doc = ["Sphinx", "sphinx-rtd-theme"]
1704
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1705
  [[package]]
1706
  name = "six"
1707
  version = "1.16.0"
@@ -1744,6 +1923,18 @@ anyio = ">=3.4.0,<5"
1744
  [package.extras]
1745
  full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyaml"]
1746
 
 
 
 
 
 
 
 
 
 
 
 
 
1747
  [[package]]
1748
  name = "toolz"
1749
  version = "0.12.0"
@@ -1852,6 +2043,27 @@ h11 = ">=0.8"
1852
  [package.extras]
1853
  standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"]
1854
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1855
  [[package]]
1856
  name = "websockets"
1857
  version = "11.0.1"
@@ -2023,4 +2235,4 @@ multidict = ">=4.0"
2023
  [metadata]
2024
  lock-version = "2.0"
2025
  python-versions = "^3.10"
2026
- content-hash = "234f043707b5a33dc23b0a6722a1da9d3fcaaf81ad6a9c2fe25beb8c3eef321b"
 
211
  tests = ["attrs[tests-no-zope]", "zope.interface"]
212
  tests-no-zope = ["cloudpickle", "cloudpickle", "hypothesis", "hypothesis", "mypy (>=0.971,<0.990)", "mypy (>=0.971,<0.990)", "pympler", "pympler", "pytest (>=4.3.0)", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-mypy-plugins", "pytest-xdist[psutil]", "pytest-xdist[psutil]"]
213
 
214
+ [[package]]
215
+ name = "black"
216
+ version = "23.3.0"
217
+ description = "The uncompromising code formatter."
218
+ category = "dev"
219
+ optional = false
220
+ python-versions = ">=3.7"
221
+ files = [
222
+ {file = "black-23.3.0-cp310-cp310-macosx_10_16_arm64.whl", hash = "sha256:0945e13506be58bf7db93ee5853243eb368ace1c08a24c65ce108986eac65915"},
223
+ {file = "black-23.3.0-cp310-cp310-macosx_10_16_universal2.whl", hash = "sha256:67de8d0c209eb5b330cce2469503de11bca4085880d62f1628bd9972cc3366b9"},
224
+ {file = "black-23.3.0-cp310-cp310-macosx_10_16_x86_64.whl", hash = "sha256:7c3eb7cea23904399866c55826b31c1f55bbcd3890ce22ff70466b907b6775c2"},
225
+ {file = "black-23.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:32daa9783106c28815d05b724238e30718f34155653d4d6e125dc7daec8e260c"},
226
+ {file = "black-23.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:35d1381d7a22cc5b2be2f72c7dfdae4072a3336060635718cc7e1ede24221d6c"},
227
+ {file = "black-23.3.0-cp311-cp311-macosx_10_16_arm64.whl", hash = "sha256:a8a968125d0a6a404842fa1bf0b349a568634f856aa08ffaff40ae0dfa52e7c6"},
228
+ {file = "black-23.3.0-cp311-cp311-macosx_10_16_universal2.whl", hash = "sha256:c7ab5790333c448903c4b721b59c0d80b11fe5e9803d8703e84dcb8da56fec1b"},
229
+ {file = "black-23.3.0-cp311-cp311-macosx_10_16_x86_64.whl", hash = "sha256:a6f6886c9869d4daae2d1715ce34a19bbc4b95006d20ed785ca00fa03cba312d"},
230
+ {file = "black-23.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f3c333ea1dd6771b2d3777482429864f8e258899f6ff05826c3a4fcc5ce3f70"},
231
+ {file = "black-23.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:11c410f71b876f961d1de77b9699ad19f939094c3a677323f43d7a29855fe326"},
232
+ {file = "black-23.3.0-cp37-cp37m-macosx_10_16_x86_64.whl", hash = "sha256:1d06691f1eb8de91cd1b322f21e3bfc9efe0c7ca1f0e1eb1db44ea367dff656b"},
233
+ {file = "black-23.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50cb33cac881766a5cd9913e10ff75b1e8eb71babf4c7104f2e9c52da1fb7de2"},
234
+ {file = "black-23.3.0-cp37-cp37m-win_amd64.whl", hash = "sha256:e114420bf26b90d4b9daa597351337762b63039752bdf72bf361364c1aa05925"},
235
+ {file = "black-23.3.0-cp38-cp38-macosx_10_16_arm64.whl", hash = "sha256:48f9d345675bb7fbc3dd85821b12487e1b9a75242028adad0333ce36ed2a6d27"},
236
+ {file = "black-23.3.0-cp38-cp38-macosx_10_16_universal2.whl", hash = "sha256:714290490c18fb0126baa0fca0a54ee795f7502b44177e1ce7624ba1c00f2331"},
237
+ {file = "black-23.3.0-cp38-cp38-macosx_10_16_x86_64.whl", hash = "sha256:064101748afa12ad2291c2b91c960be28b817c0c7eaa35bec09cc63aa56493c5"},
238
+ {file = "black-23.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:562bd3a70495facf56814293149e51aa1be9931567474993c7942ff7d3533961"},
239
+ {file = "black-23.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:e198cf27888ad6f4ff331ca1c48ffc038848ea9f031a3b40ba36aced7e22f2c8"},
240
+ {file = "black-23.3.0-cp39-cp39-macosx_10_16_arm64.whl", hash = "sha256:3238f2aacf827d18d26db07524e44741233ae09a584273aa059066d644ca7b30"},
241
+ {file = "black-23.3.0-cp39-cp39-macosx_10_16_universal2.whl", hash = "sha256:f0bd2f4a58d6666500542b26354978218a9babcdc972722f4bf90779524515f3"},
242
+ {file = "black-23.3.0-cp39-cp39-macosx_10_16_x86_64.whl", hash = "sha256:92c543f6854c28a3c7f39f4d9b7694f9a6eb9d3c5e2ece488c327b6e7ea9b266"},
243
+ {file = "black-23.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a150542a204124ed00683f0db1f5cf1c2aaaa9cc3495b7a3b5976fb136090ab"},
244
+ {file = "black-23.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:6b39abdfb402002b8a7d030ccc85cf5afff64ee90fa4c5aebc531e3ad0175ddb"},
245
+ {file = "black-23.3.0-py3-none-any.whl", hash = "sha256:ec751418022185b0c1bb7d7736e6933d40bbb14c14a0abcf9123d1b159f98dd4"},
246
+ {file = "black-23.3.0.tar.gz", hash = "sha256:1c7b8d606e728a41ea1ccbd7264677e494e87cf630e399262ced92d4a8dac940"},
247
+ ]
248
+
249
+ [package.dependencies]
250
+ click = ">=8.0.0"
251
+ mypy-extensions = ">=0.4.3"
252
+ packaging = ">=22.0"
253
+ pathspec = ">=0.9.0"
254
+ platformdirs = ">=2"
255
+ tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
256
+
257
+ [package.extras]
258
+ colorama = ["colorama (>=0.4.3)"]
259
+ d = ["aiohttp (>=3.7.4)"]
260
+ jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"]
261
+ uvloop = ["uvloop (>=0.15.2)"]
262
+
263
  [[package]]
264
  name = "certifi"
265
  version = "2022.12.7"
 
272
  {file = "certifi-2022.12.7.tar.gz", hash = "sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3"},
273
  ]
274
 
275
+ [[package]]
276
+ name = "cfgv"
277
+ version = "3.3.1"
278
+ description = "Validate configuration and produce human readable error messages."
279
+ category = "dev"
280
+ optional = false
281
+ python-versions = ">=3.6.1"
282
+ files = [
283
+ {file = "cfgv-3.3.1-py2.py3-none-any.whl", hash = "sha256:c6a0883f3917a037485059700b9e75da2464e6c27051014ad85ba6aaa5884426"},
284
+ {file = "cfgv-3.3.1.tar.gz", hash = "sha256:f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736"},
285
+ ]
286
+
287
  [[package]]
288
  name = "charset-normalizer"
289
  version = "3.1.0"
 
483
  {file = "cycler-0.11.0.tar.gz", hash = "sha256:9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f"},
484
  ]
485
 
486
+ [[package]]
487
+ name = "distlib"
488
+ version = "0.3.6"
489
+ description = "Distribution utilities"
490
+ category = "dev"
491
+ optional = false
492
+ python-versions = "*"
493
+ files = [
494
+ {file = "distlib-0.3.6-py2.py3-none-any.whl", hash = "sha256:f35c4b692542ca110de7ef0bea44d73981caeb34ca0b9b6b2e6d7790dda8f80e"},
495
+ {file = "distlib-0.3.6.tar.gz", hash = "sha256:14bad2d9b04d3a36127ac97f30b12a19268f211063d8f8ee4f47108896e11b46"},
496
+ ]
497
+
498
  [[package]]
499
  name = "entrypoints"
500
  version = "0.4"
 
852
  torch = ["torch"]
853
  typing = ["types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3"]
854
 
855
+ [[package]]
856
+ name = "identify"
857
+ version = "2.5.22"
858
+ description = "File identification library for Python"
859
+ category = "dev"
860
+ optional = false
861
+ python-versions = ">=3.7"
862
+ files = [
863
+ {file = "identify-2.5.22-py2.py3-none-any.whl", hash = "sha256:f0faad595a4687053669c112004178149f6c326db71ee999ae4636685753ad2f"},
864
+ {file = "identify-2.5.22.tar.gz", hash = "sha256:f7a93d6cf98e29bd07663c60728e7a4057615068d7a639d132dc883b2d54d31e"},
865
+ ]
866
+
867
+ [package.extras]
868
+ license = ["ukkonen"]
869
+
870
  [[package]]
871
  name = "idna"
872
  version = "3.4"
 
1280
  {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"},
1281
  ]
1282
 
1283
+ [[package]]
1284
+ name = "mypy-extensions"
1285
+ version = "1.0.0"
1286
+ description = "Type system extensions for programs checked with the mypy type checker."
1287
+ category = "dev"
1288
+ optional = false
1289
+ python-versions = ">=3.5"
1290
+ files = [
1291
+ {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"},
1292
+ {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"},
1293
+ ]
1294
+
1295
+ [[package]]
1296
+ name = "nodeenv"
1297
+ version = "1.7.0"
1298
+ description = "Node.js virtual environment builder"
1299
+ category = "dev"
1300
+ optional = false
1301
+ python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*"
1302
+ files = [
1303
+ {file = "nodeenv-1.7.0-py2.py3-none-any.whl", hash = "sha256:27083a7b96a25f2f5e1d8cb4b6317ee8aeda3bdd121394e5ac54e498028a042e"},
1304
+ {file = "nodeenv-1.7.0.tar.gz", hash = "sha256:e0e7f7dfb85fc5394c6fe1e8fa98131a2473e04311a45afb6508f7cf1836fa2b"},
1305
+ ]
1306
+
1307
+ [package.dependencies]
1308
+ setuptools = "*"
1309
+
1310
  [[package]]
1311
  name = "numpy"
1312
  version = "1.24.2"
 
1490
  test = ["hypothesis (>=6.34.2)", "pytest (>=7.0.0)", "pytest-asyncio (>=0.17.0)", "pytest-xdist (>=2.2.0)"]
1491
  xml = ["lxml (>=4.6.3)"]
1492
 
1493
+ [[package]]
1494
+ name = "pathspec"
1495
+ version = "0.11.1"
1496
+ description = "Utility library for gitignore style pattern matching of file paths."
1497
+ category = "dev"
1498
+ optional = false
1499
+ python-versions = ">=3.7"
1500
+ files = [
1501
+ {file = "pathspec-0.11.1-py3-none-any.whl", hash = "sha256:d8af70af76652554bd134c22b3e8a1cc46ed7d91edcdd721ef1a0c51a84a5293"},
1502
+ {file = "pathspec-0.11.1.tar.gz", hash = "sha256:2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687"},
1503
+ ]
1504
+
1505
  [[package]]
1506
  name = "pillow"
1507
  version = "9.5.0"
 
1582
  docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-removed-in", "sphinxext-opengraph"]
1583
  tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"]
1584
 
1585
+ [[package]]
1586
+ name = "platformdirs"
1587
+ version = "3.2.0"
1588
+ description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
1589
+ category = "dev"
1590
+ optional = false
1591
+ python-versions = ">=3.7"
1592
+ files = [
1593
+ {file = "platformdirs-3.2.0-py3-none-any.whl", hash = "sha256:ebe11c0d7a805086e99506aa331612429a72ca7cd52a1f0d277dc4adc20cb10e"},
1594
+ {file = "platformdirs-3.2.0.tar.gz", hash = "sha256:d5b638ca397f25f979350ff789db335903d7ea010ab28903f57b27e1b16c2b08"},
1595
+ ]
1596
+
1597
+ [package.extras]
1598
+ docs = ["furo (>=2022.12.7)", "proselint (>=0.13)", "sphinx (>=6.1.3)", "sphinx-autodoc-typehints (>=1.22,!=1.23.4)"]
1599
+ test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.2.2)", "pytest-cov (>=4)", "pytest-mock (>=3.10)"]
1600
+
1601
+ [[package]]
1602
+ name = "pre-commit"
1603
+ version = "3.2.2"
1604
+ description = "A framework for managing and maintaining multi-language pre-commit hooks."
1605
+ category = "dev"
1606
+ optional = false
1607
+ python-versions = ">=3.8"
1608
+ files = [
1609
+ {file = "pre_commit-3.2.2-py2.py3-none-any.whl", hash = "sha256:0b4210aea813fe81144e87c5a291f09ea66f199f367fa1df41b55e1d26e1e2b4"},
1610
+ {file = "pre_commit-3.2.2.tar.gz", hash = "sha256:5b808fcbda4afbccf6d6633a56663fed35b6c2bc08096fd3d47ce197ac351d9d"},
1611
+ ]
1612
+
1613
+ [package.dependencies]
1614
+ cfgv = ">=2.0.0"
1615
+ identify = ">=1.0.0"
1616
+ nodeenv = ">=0.11.1"
1617
+ pyyaml = ">=5.1"
1618
+ virtualenv = ">=20.10.0"
1619
+
1620
  [[package]]
1621
  name = "pydantic"
1622
  version = "1.10.7"
 
1864
  dev = ["Django (>=1.11)", "check-manifest", "colorama (<=0.4.1)", "coverage", "flake8", "nose2", "readme-renderer (<25.0)", "tox", "wheel", "zest.releaser[recommended]"]
1865
  doc = ["Sphinx", "sphinx-rtd-theme"]
1866
 
1867
+ [[package]]
1868
+ name = "setuptools"
1869
+ version = "67.6.1"
1870
+ description = "Easily download, build, install, upgrade, and uninstall Python packages"
1871
+ category = "dev"
1872
+ optional = false
1873
+ python-versions = ">=3.7"
1874
+ files = [
1875
+ {file = "setuptools-67.6.1-py3-none-any.whl", hash = "sha256:e728ca814a823bf7bf60162daf9db95b93d532948c4c0bea762ce62f60189078"},
1876
+ {file = "setuptools-67.6.1.tar.gz", hash = "sha256:257de92a9d50a60b8e22abfcbb771571fde0dbf3ec234463212027a4eeecbe9a"},
1877
+ ]
1878
+
1879
+ [package.extras]
1880
+ docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"]
1881
+ testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8 (<5)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"]
1882
+ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"]
1883
+
1884
  [[package]]
1885
  name = "six"
1886
  version = "1.16.0"
 
1923
  [package.extras]
1924
  full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyaml"]
1925
 
1926
+ [[package]]
1927
+ name = "tomli"
1928
+ version = "2.0.1"
1929
+ description = "A lil' TOML parser"
1930
+ category = "dev"
1931
+ optional = false
1932
+ python-versions = ">=3.7"
1933
+ files = [
1934
+ {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
1935
+ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
1936
+ ]
1937
+
1938
  [[package]]
1939
  name = "toolz"
1940
  version = "0.12.0"
 
2043
  [package.extras]
2044
  standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"]
2045
 
2046
+ [[package]]
2047
+ name = "virtualenv"
2048
+ version = "20.21.0"
2049
+ description = "Virtual Python Environment builder"
2050
+ category = "dev"
2051
+ optional = false
2052
+ python-versions = ">=3.7"
2053
+ files = [
2054
+ {file = "virtualenv-20.21.0-py3-none-any.whl", hash = "sha256:31712f8f2a17bd06234fa97fdf19609e789dd4e3e4bf108c3da71d710651adbc"},
2055
+ {file = "virtualenv-20.21.0.tar.gz", hash = "sha256:f50e3e60f990a0757c9b68333c9fdaa72d7188caa417f96af9e52407831a3b68"},
2056
+ ]
2057
+
2058
+ [package.dependencies]
2059
+ distlib = ">=0.3.6,<1"
2060
+ filelock = ">=3.4.1,<4"
2061
+ platformdirs = ">=2.4,<4"
2062
+
2063
+ [package.extras]
2064
+ docs = ["furo (>=2022.12.7)", "proselint (>=0.13)", "sphinx (>=6.1.3)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=22.12)"]
2065
+ test = ["covdefaults (>=2.2.2)", "coverage (>=7.1)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7)", "packaging (>=23)", "pytest (>=7.2.1)", "pytest-env (>=0.8.1)", "pytest-freezegun (>=0.4.2)", "pytest-mock (>=3.10)", "pytest-randomly (>=3.12)", "pytest-timeout (>=2.1)"]
2066
+
2067
  [[package]]
2068
  name = "websockets"
2069
  version = "11.0.1"
 
2235
  [metadata]
2236
  lock-version = "2.0"
2237
  python-versions = "^3.10"
2238
+ content-hash = "0c0fae2f1cda3e4f67a7bb0a492a7e4c574cb245fe0595dbd78120acaa868ed9"
pyproject.toml CHANGED
@@ -4,13 +4,16 @@ version = "0.1.0"
4
  description = ""
5
  authors = ["Your Name <[email protected]>"]
6
  readme = "README.md"
7
- packages = [{include = "nlp_circle_demo"}]
8
 
9
  [tool.poetry.dependencies]
10
  python = "^3.10"
11
  gradio = "^3.26.0"
12
  pyyaml = "^6.0"
13
 
 
 
 
14
 
15
  [build-system]
16
  requires = ["poetry-core"]
 
4
  description = ""
5
  authors = ["Your Name <[email protected]>"]
6
  readme = "README.md"
7
+ packages = []
8
 
9
  [tool.poetry.dependencies]
10
  python = "^3.10"
11
  gradio = "^3.26.0"
12
  pyyaml = "^6.0"
13
 
14
+ [tool.poetry.dev-dependencies]
15
+ pre-commit = "^3.2"
16
+ black = "^23.3"
17
 
18
  [build-system]
19
  requires = ["poetry-core"]