alekeik1 commited on
Commit
bd70023
·
1 Parent(s): 1dc6869

build(pyproject): add linters

Browse files
Files changed (3) hide show
  1. .flake8 +66 -0
  2. poetry.lock +203 -1
  3. pyproject.toml +18 -0
.flake8 ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [flake8]
2
+ select =
3
+ # don't use built-ins names
4
+ B,
5
+ # pep8 errors and warnings
6
+ E, W,
7
+ # pyflakes
8
+ F,
9
+ # documentation
10
+ D,
11
+ # McCabe
12
+ C9,
13
+ # Naming Conventions
14
+ N8,
15
+ # Flake8-Pylint
16
+ #PL,
17
+ # bandit
18
+ #B, S,
19
+ # commas
20
+ #C,
21
+ # docstrings
22
+ #D,
23
+ # string-format
24
+ #P,
25
+ # quotes
26
+ Q,
27
+
28
+ ignore =
29
+ # closing bracket does not match indentation of opening bracket's line
30
+ E123,
31
+ # whitespace before ':'
32
+ E203,
33
+ # missing whitespace around arithmetic operator
34
+ E226,
35
+ # multiple spaces after ',' or tab after ','
36
+ E24,
37
+ # line break before binary operator
38
+ W503,
39
+ # line break after binary operator
40
+ W504,
41
+
42
+ # allow modules without docstrings
43
+ D100,
44
+ # allow classes without docstrings
45
+ D101,
46
+ # allow methods without docstrings
47
+ D102,
48
+ # allow functions without docstrings
49
+ D103,
50
+ # allow packages without docstrings
51
+ D104,
52
+ # allow no docstring in magic methods
53
+ D105,
54
+ # allow __init__ without docstrings
55
+ D107,
56
+ # Multi-line docstring summary should start at the second line, for docformatter
57
+ D213,
58
+
59
+ max-line-length = 200
60
+
61
+ exclude =
62
+ cpp-1
63
+
64
+ statistics = True
65
+ show-source = True
66
+ inline-quotes = "
poetry.lock CHANGED
@@ -42,6 +42,55 @@ docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-
42
  tests = ["attrs[tests-no-zope]", "zope.interface"]
43
  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]"]
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  [[package]]
46
  name = "blinker"
47
  version = "1.6.1"
@@ -205,6 +254,25 @@ files = [
205
  {file = "decorator-5.1.1.tar.gz", hash = "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330"},
206
  ]
207
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  [[package]]
209
  name = "entrypoints"
210
  version = "0.4"
@@ -217,6 +285,23 @@ files = [
217
  {file = "entrypoints-0.4.tar.gz", hash = "sha256:b706eddaa9218a19ebcd67b56818f05bb27589b1ca9e8d797b74affad4ccacd4"},
218
  ]
219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  [[package]]
221
  name = "gitdb"
222
  version = "4.0.10"
@@ -291,6 +376,24 @@ docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker
291
  perf = ["ipython"]
292
  testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "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 (>=0.9.2)"]
293
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  [[package]]
295
  name = "jinja2"
296
  version = "3.1.2"
@@ -414,6 +517,18 @@ files = [
414
  {file = "MarkupSafe-2.1.2.tar.gz", hash = "sha256:abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d"},
415
  ]
416
 
 
 
 
 
 
 
 
 
 
 
 
 
417
  [[package]]
418
  name = "mdurl"
419
  version = "0.1.2"
@@ -426,6 +541,18 @@ files = [
426
  {file = "mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"},
427
  ]
428
 
 
 
 
 
 
 
 
 
 
 
 
 
429
  [[package]]
430
  name = "numpy"
431
  version = "1.24.2"
@@ -524,6 +651,18 @@ pytz = ">=2020.1"
524
  [package.extras]
525
  test = ["hypothesis (>=5.5.3)", "pytest (>=6.0)", "pytest-xdist (>=1.31)"]
526
 
 
 
 
 
 
 
 
 
 
 
 
 
527
  [[package]]
528
  name = "pillow"
529
  version = "9.5.0"
@@ -604,6 +743,22 @@ files = [
604
  docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-removed-in", "sphinxext-opengraph"]
605
  tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"]
606
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
607
  [[package]]
608
  name = "protobuf"
609
  version = "3.20.3"
@@ -674,6 +829,18 @@ files = [
674
  [package.dependencies]
675
  numpy = ">=1.16.6"
676
 
 
 
 
 
 
 
 
 
 
 
 
 
677
  [[package]]
678
  name = "pydeck"
679
  version = "0.8.0"
@@ -694,6 +861,18 @@ numpy = ">=1.16.4"
694
  carto = ["pydeck-carto"]
695
  jupyter = ["ipykernel (>=5.1.2)", "ipython (>=5.8.0)", "ipywidgets (>=7,<8)", "traitlets (>=4.3.2)"]
696
 
 
 
 
 
 
 
 
 
 
 
 
 
697
  [[package]]
698
  name = "pygments"
699
  version = "2.15.0"
@@ -917,6 +1096,18 @@ files = [
917
  {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"},
918
  ]
919
 
 
 
 
 
 
 
 
 
 
 
 
 
920
  [[package]]
921
  name = "toolz"
922
  version = "0.12.0"
@@ -993,6 +1184,17 @@ tzdata = {version = "*", markers = "platform_system == \"Windows\""}
993
  [package.extras]
994
  devenv = ["black", "check-manifest", "flake8", "pyroma", "pytest (>=4.3)", "pytest-cov", "pytest-mock (>=3.3)", "zest.releaser"]
995
 
 
 
 
 
 
 
 
 
 
 
 
996
  [[package]]
997
  name = "urllib3"
998
  version = "1.26.15"
@@ -1105,4 +1307,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
1105
  [metadata]
1106
  lock-version = "2.0"
1107
  python-versions = "^3.10"
1108
- content-hash = "667a66481c48d635590639b9b3d6f77cdfc823dec355c87da6cd8d9caf50be59"
 
42
  tests = ["attrs[tests-no-zope]", "zope.interface"]
43
  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]"]
44
 
45
+ [[package]]
46
+ name = "black"
47
+ version = "23.3.0"
48
+ description = "The uncompromising code formatter."
49
+ category = "dev"
50
+ optional = false
51
+ python-versions = ">=3.7"
52
+ files = [
53
+ {file = "black-23.3.0-cp310-cp310-macosx_10_16_arm64.whl", hash = "sha256:0945e13506be58bf7db93ee5853243eb368ace1c08a24c65ce108986eac65915"},
54
+ {file = "black-23.3.0-cp310-cp310-macosx_10_16_universal2.whl", hash = "sha256:67de8d0c209eb5b330cce2469503de11bca4085880d62f1628bd9972cc3366b9"},
55
+ {file = "black-23.3.0-cp310-cp310-macosx_10_16_x86_64.whl", hash = "sha256:7c3eb7cea23904399866c55826b31c1f55bbcd3890ce22ff70466b907b6775c2"},
56
+ {file = "black-23.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:32daa9783106c28815d05b724238e30718f34155653d4d6e125dc7daec8e260c"},
57
+ {file = "black-23.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:35d1381d7a22cc5b2be2f72c7dfdae4072a3336060635718cc7e1ede24221d6c"},
58
+ {file = "black-23.3.0-cp311-cp311-macosx_10_16_arm64.whl", hash = "sha256:a8a968125d0a6a404842fa1bf0b349a568634f856aa08ffaff40ae0dfa52e7c6"},
59
+ {file = "black-23.3.0-cp311-cp311-macosx_10_16_universal2.whl", hash = "sha256:c7ab5790333c448903c4b721b59c0d80b11fe5e9803d8703e84dcb8da56fec1b"},
60
+ {file = "black-23.3.0-cp311-cp311-macosx_10_16_x86_64.whl", hash = "sha256:a6f6886c9869d4daae2d1715ce34a19bbc4b95006d20ed785ca00fa03cba312d"},
61
+ {file = "black-23.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f3c333ea1dd6771b2d3777482429864f8e258899f6ff05826c3a4fcc5ce3f70"},
62
+ {file = "black-23.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:11c410f71b876f961d1de77b9699ad19f939094c3a677323f43d7a29855fe326"},
63
+ {file = "black-23.3.0-cp37-cp37m-macosx_10_16_x86_64.whl", hash = "sha256:1d06691f1eb8de91cd1b322f21e3bfc9efe0c7ca1f0e1eb1db44ea367dff656b"},
64
+ {file = "black-23.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50cb33cac881766a5cd9913e10ff75b1e8eb71babf4c7104f2e9c52da1fb7de2"},
65
+ {file = "black-23.3.0-cp37-cp37m-win_amd64.whl", hash = "sha256:e114420bf26b90d4b9daa597351337762b63039752bdf72bf361364c1aa05925"},
66
+ {file = "black-23.3.0-cp38-cp38-macosx_10_16_arm64.whl", hash = "sha256:48f9d345675bb7fbc3dd85821b12487e1b9a75242028adad0333ce36ed2a6d27"},
67
+ {file = "black-23.3.0-cp38-cp38-macosx_10_16_universal2.whl", hash = "sha256:714290490c18fb0126baa0fca0a54ee795f7502b44177e1ce7624ba1c00f2331"},
68
+ {file = "black-23.3.0-cp38-cp38-macosx_10_16_x86_64.whl", hash = "sha256:064101748afa12ad2291c2b91c960be28b817c0c7eaa35bec09cc63aa56493c5"},
69
+ {file = "black-23.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:562bd3a70495facf56814293149e51aa1be9931567474993c7942ff7d3533961"},
70
+ {file = "black-23.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:e198cf27888ad6f4ff331ca1c48ffc038848ea9f031a3b40ba36aced7e22f2c8"},
71
+ {file = "black-23.3.0-cp39-cp39-macosx_10_16_arm64.whl", hash = "sha256:3238f2aacf827d18d26db07524e44741233ae09a584273aa059066d644ca7b30"},
72
+ {file = "black-23.3.0-cp39-cp39-macosx_10_16_universal2.whl", hash = "sha256:f0bd2f4a58d6666500542b26354978218a9babcdc972722f4bf90779524515f3"},
73
+ {file = "black-23.3.0-cp39-cp39-macosx_10_16_x86_64.whl", hash = "sha256:92c543f6854c28a3c7f39f4d9b7694f9a6eb9d3c5e2ece488c327b6e7ea9b266"},
74
+ {file = "black-23.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a150542a204124ed00683f0db1f5cf1c2aaaa9cc3495b7a3b5976fb136090ab"},
75
+ {file = "black-23.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:6b39abdfb402002b8a7d030ccc85cf5afff64ee90fa4c5aebc531e3ad0175ddb"},
76
+ {file = "black-23.3.0-py3-none-any.whl", hash = "sha256:ec751418022185b0c1bb7d7736e6933d40bbb14c14a0abcf9123d1b159f98dd4"},
77
+ {file = "black-23.3.0.tar.gz", hash = "sha256:1c7b8d606e728a41ea1ccbd7264677e494e87cf630e399262ced92d4a8dac940"},
78
+ ]
79
+
80
+ [package.dependencies]
81
+ click = ">=8.0.0"
82
+ mypy-extensions = ">=0.4.3"
83
+ packaging = ">=22.0"
84
+ pathspec = ">=0.9.0"
85
+ platformdirs = ">=2"
86
+ tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
87
+
88
+ [package.extras]
89
+ colorama = ["colorama (>=0.4.3)"]
90
+ d = ["aiohttp (>=3.7.4)"]
91
+ jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"]
92
+ uvloop = ["uvloop (>=0.15.2)"]
93
+
94
  [[package]]
95
  name = "blinker"
96
  version = "1.6.1"
 
254
  {file = "decorator-5.1.1.tar.gz", hash = "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330"},
255
  ]
256
 
257
+ [[package]]
258
+ name = "docformatter"
259
+ version = "1.6.0"
260
+ description = "Formats docstrings to follow PEP 257"
261
+ category = "dev"
262
+ optional = false
263
+ python-versions = ">=3.7,<4.0"
264
+ files = [
265
+ {file = "docformatter-1.6.0-py3-none-any.whl", hash = "sha256:dfad58437b560708eb74ccaccba5c91a0f98f534ed51b7af02aa35225e9eb6c2"},
266
+ {file = "docformatter-1.6.0.tar.gz", hash = "sha256:2346dcc239b73bc4b62d1035e240d1338d154fb047a7e492f0168a93744222e2"},
267
+ ]
268
+
269
+ [package.dependencies]
270
+ charset_normalizer = ">=3.0.0,<4.0.0"
271
+ untokenize = ">=0.1.1,<0.2.0"
272
+
273
+ [package.extras]
274
+ tomli = ["tomli (>=2.0.0,<3.0.0)"]
275
+
276
  [[package]]
277
  name = "entrypoints"
278
  version = "0.4"
 
285
  {file = "entrypoints-0.4.tar.gz", hash = "sha256:b706eddaa9218a19ebcd67b56818f05bb27589b1ca9e8d797b74affad4ccacd4"},
286
  ]
287
 
288
+ [[package]]
289
+ name = "flake8"
290
+ version = "6.0.0"
291
+ description = "the modular source code checker: pep8 pyflakes and co"
292
+ category = "dev"
293
+ optional = false
294
+ python-versions = ">=3.8.1"
295
+ files = [
296
+ {file = "flake8-6.0.0-py2.py3-none-any.whl", hash = "sha256:3833794e27ff64ea4e9cf5d410082a8b97ff1a06c16aa3d2027339cd0f1195c7"},
297
+ {file = "flake8-6.0.0.tar.gz", hash = "sha256:c61007e76655af75e6785a931f452915b371dc48f56efd765247c8fe68f2b181"},
298
+ ]
299
+
300
+ [package.dependencies]
301
+ mccabe = ">=0.7.0,<0.8.0"
302
+ pycodestyle = ">=2.10.0,<2.11.0"
303
+ pyflakes = ">=3.0.0,<3.1.0"
304
+
305
  [[package]]
306
  name = "gitdb"
307
  version = "4.0.10"
 
376
  perf = ["ipython"]
377
  testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "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 (>=0.9.2)"]
378
 
379
+ [[package]]
380
+ name = "isort"
381
+ version = "5.12.0"
382
+ description = "A Python utility / library to sort Python imports."
383
+ category = "dev"
384
+ optional = false
385
+ python-versions = ">=3.8.0"
386
+ files = [
387
+ {file = "isort-5.12.0-py3-none-any.whl", hash = "sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6"},
388
+ {file = "isort-5.12.0.tar.gz", hash = "sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504"},
389
+ ]
390
+
391
+ [package.extras]
392
+ colors = ["colorama (>=0.4.3)"]
393
+ pipfile-deprecated-finder = ["pip-shims (>=0.5.2)", "pipreqs", "requirementslib"]
394
+ plugins = ["setuptools"]
395
+ requirements-deprecated-finder = ["pip-api", "pipreqs"]
396
+
397
  [[package]]
398
  name = "jinja2"
399
  version = "3.1.2"
 
517
  {file = "MarkupSafe-2.1.2.tar.gz", hash = "sha256:abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d"},
518
  ]
519
 
520
+ [[package]]
521
+ name = "mccabe"
522
+ version = "0.7.0"
523
+ description = "McCabe checker, plugin for flake8"
524
+ category = "dev"
525
+ optional = false
526
+ python-versions = ">=3.6"
527
+ files = [
528
+ {file = "mccabe-0.7.0-py2.py3-none-any.whl", hash = "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e"},
529
+ {file = "mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325"},
530
+ ]
531
+
532
  [[package]]
533
  name = "mdurl"
534
  version = "0.1.2"
 
541
  {file = "mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"},
542
  ]
543
 
544
+ [[package]]
545
+ name = "mypy-extensions"
546
+ version = "1.0.0"
547
+ description = "Type system extensions for programs checked with the mypy type checker."
548
+ category = "dev"
549
+ optional = false
550
+ python-versions = ">=3.5"
551
+ files = [
552
+ {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"},
553
+ {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"},
554
+ ]
555
+
556
  [[package]]
557
  name = "numpy"
558
  version = "1.24.2"
 
651
  [package.extras]
652
  test = ["hypothesis (>=5.5.3)", "pytest (>=6.0)", "pytest-xdist (>=1.31)"]
653
 
654
+ [[package]]
655
+ name = "pathspec"
656
+ version = "0.11.1"
657
+ description = "Utility library for gitignore style pattern matching of file paths."
658
+ category = "dev"
659
+ optional = false
660
+ python-versions = ">=3.7"
661
+ files = [
662
+ {file = "pathspec-0.11.1-py3-none-any.whl", hash = "sha256:d8af70af76652554bd134c22b3e8a1cc46ed7d91edcdd721ef1a0c51a84a5293"},
663
+ {file = "pathspec-0.11.1.tar.gz", hash = "sha256:2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687"},
664
+ ]
665
+
666
  [[package]]
667
  name = "pillow"
668
  version = "9.5.0"
 
743
  docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-removed-in", "sphinxext-opengraph"]
744
  tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"]
745
 
746
+ [[package]]
747
+ name = "platformdirs"
748
+ version = "3.2.0"
749
+ description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
750
+ category = "dev"
751
+ optional = false
752
+ python-versions = ">=3.7"
753
+ files = [
754
+ {file = "platformdirs-3.2.0-py3-none-any.whl", hash = "sha256:ebe11c0d7a805086e99506aa331612429a72ca7cd52a1f0d277dc4adc20cb10e"},
755
+ {file = "platformdirs-3.2.0.tar.gz", hash = "sha256:d5b638ca397f25f979350ff789db335903d7ea010ab28903f57b27e1b16c2b08"},
756
+ ]
757
+
758
+ [package.extras]
759
+ docs = ["furo (>=2022.12.7)", "proselint (>=0.13)", "sphinx (>=6.1.3)", "sphinx-autodoc-typehints (>=1.22,!=1.23.4)"]
760
+ test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.2.2)", "pytest-cov (>=4)", "pytest-mock (>=3.10)"]
761
+
762
  [[package]]
763
  name = "protobuf"
764
  version = "3.20.3"
 
829
  [package.dependencies]
830
  numpy = ">=1.16.6"
831
 
832
+ [[package]]
833
+ name = "pycodestyle"
834
+ version = "2.10.0"
835
+ description = "Python style guide checker"
836
+ category = "dev"
837
+ optional = false
838
+ python-versions = ">=3.6"
839
+ files = [
840
+ {file = "pycodestyle-2.10.0-py2.py3-none-any.whl", hash = "sha256:8a4eaf0d0495c7395bdab3589ac2db602797d76207242c17d470186815706610"},
841
+ {file = "pycodestyle-2.10.0.tar.gz", hash = "sha256:347187bdb476329d98f695c213d7295a846d1152ff4fe9bacb8a9590b8ee7053"},
842
+ ]
843
+
844
  [[package]]
845
  name = "pydeck"
846
  version = "0.8.0"
 
861
  carto = ["pydeck-carto"]
862
  jupyter = ["ipykernel (>=5.1.2)", "ipython (>=5.8.0)", "ipywidgets (>=7,<8)", "traitlets (>=4.3.2)"]
863
 
864
+ [[package]]
865
+ name = "pyflakes"
866
+ version = "3.0.1"
867
+ description = "passive checker of Python programs"
868
+ category = "dev"
869
+ optional = false
870
+ python-versions = ">=3.6"
871
+ files = [
872
+ {file = "pyflakes-3.0.1-py2.py3-none-any.whl", hash = "sha256:ec55bf7fe21fff7f1ad2f7da62363d749e2a470500eab1b555334b67aa1ef8cf"},
873
+ {file = "pyflakes-3.0.1.tar.gz", hash = "sha256:ec8b276a6b60bd80defed25add7e439881c19e64850afd9b346283d4165fd0fd"},
874
+ ]
875
+
876
  [[package]]
877
  name = "pygments"
878
  version = "2.15.0"
 
1096
  {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"},
1097
  ]
1098
 
1099
+ [[package]]
1100
+ name = "tomli"
1101
+ version = "2.0.1"
1102
+ description = "A lil' TOML parser"
1103
+ category = "dev"
1104
+ optional = false
1105
+ python-versions = ">=3.7"
1106
+ files = [
1107
+ {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
1108
+ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
1109
+ ]
1110
+
1111
  [[package]]
1112
  name = "toolz"
1113
  version = "0.12.0"
 
1184
  [package.extras]
1185
  devenv = ["black", "check-manifest", "flake8", "pyroma", "pytest (>=4.3)", "pytest-cov", "pytest-mock (>=3.3)", "zest.releaser"]
1186
 
1187
+ [[package]]
1188
+ name = "untokenize"
1189
+ version = "0.1.1"
1190
+ description = "Transforms tokens into original source code (while preserving whitespace)."
1191
+ category = "dev"
1192
+ optional = false
1193
+ python-versions = "*"
1194
+ files = [
1195
+ {file = "untokenize-0.1.1.tar.gz", hash = "sha256:3865dbbbb8efb4bb5eaa72f1be7f3e0be00ea8b7f125c69cbd1f5fda926f37a2"},
1196
+ ]
1197
+
1198
  [[package]]
1199
  name = "urllib3"
1200
  version = "1.26.15"
 
1307
  [metadata]
1308
  lock-version = "2.0"
1309
  python-versions = "^3.10"
1310
+ content-hash = "f5f61f64fd6763407d0f3b5e15ba17110da239ec2eabef506464c2aed2bd45a6"
pyproject.toml CHANGED
@@ -13,6 +13,24 @@ streamlit = "^1.21.0"
13
  uvicorn = "^0.21.1"
14
 
15
 
 
 
 
 
 
 
16
  [build-system]
17
  requires = ["poetry-core"]
18
  build-backend = "poetry.core.masonry.api"
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  uvicorn = "^0.21.1"
14
 
15
 
16
+ [tool.poetry.group.dev.dependencies]
17
+ flake8 = "^6.0.0"
18
+ black = "^23.3.0"
19
+ docformatter = "^1.6.0"
20
+ isort = "^5.12.0"
21
+
22
  [build-system]
23
  requires = ["poetry-core"]
24
  build-backend = "poetry.core.masonry.api"
25
+
26
+ [tool.black]
27
+ line-length = 120
28
+
29
+ [tool.isort]
30
+ line_length = 120
31
+ profile = "black"
32
+
33
+ [tool.docformatter]
34
+ wrap-summaries = 119
35
+ wrap-description = 110
36
+ black = "true"