Skip to content

Commit cfcaad2

Browse files
committed
config: update version from '0.1.0' -> '0.2.1'
1 parent d8c60b2 commit cfcaad2

File tree

2 files changed

+67
-67
lines changed

2 files changed

+67
-67
lines changed

pyproject.toml

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -4,70 +4,70 @@ requires = ["flit_core >=3.2,<4"]
44

55
[project]
66
name = "segmentador"
7-
version = "0.1.0"
7+
version = "0.2.1"
88
description = "Segmentador de textos legais para a Câmara dos Deputados."
99
authors = [
10-
{name="felsiq", email= "[email protected]"}
10+
{name="felsiq", email= "[email protected]"}
1111
]
1212

1313
requires-python = ">=3.7"
1414

1515
dependencies = [
16-
"numpy >= 1.21.6",
17-
"torch >= 1.11.0",
18-
"transformers == 4.16.2",
19-
"regex >= 2022.3.15",
20-
"buscador @ git+https://github.com/ulysses-camara/[email protected]",
16+
"numpy >= 1.21.6",
17+
"torch >= 1.11.0",
18+
"transformers == 4.16.2",
19+
"regex >= 2022.3.15",
20+
"buscador @ git+https://github.com/ulysses-camara/[email protected]",
2121
]
2222

2323
[project.optional-dependencies]
2424
optimize = [
25-
"optimum[onnxruntime] >= 1.1.0",
26-
"onnxruntime >= 1.11.0",
27-
"colorama >= 0.4.4",
25+
"optimum[onnxruntime] >= 1.1.0",
26+
"onnxruntime >= 1.11.0",
27+
"colorama >= 0.4.4",
2828
]
2929

3030
codestyle = [
31-
"black >= 22.1.0",
31+
"black >= 22.1.0",
3232
]
3333

3434
notebooks = [
35-
"seaborn >= 0.11.2",
36-
"notebook >= 6.4.8",
37-
"jupyter-contrib-nbextensions >= 0.5.1",
38-
"ipywidgets >= 7.6.5",
39-
"autopep8 >= 1.6.0",
40-
"flask >= 2.0.3",
41-
"flask-cors >= 3.0.10",
42-
"onnx >= 1.11.0",
35+
"seaborn >= 0.11.2",
36+
"notebook >= 6.4.8",
37+
"jupyter-contrib-nbextensions >= 0.5.1",
38+
"ipywidgets >= 7.6.5",
39+
"autopep8 >= 1.6.0",
40+
"flask >= 2.0.3",
41+
"flask-cors >= 3.0.10",
42+
"onnx >= 1.11.0",
4343
]
4444

4545
train = [
46-
"datasets >= 1.18.3",
47-
"pandas >= 1.3.5",
48-
"scikit-learn >= 1.0.2",
49-
"nltk >= 3.7",
50-
"colorama >= 0.4.4",
51-
"tqdm >= 4.63.0",
52-
"sentencepiece >= 0.1.96",
53-
"psutil >= 5.9.0",
54-
"pytorch_lightning >= 1.5.10",
46+
"datasets >= 1.18.3",
47+
"pandas >= 1.3.5",
48+
"scikit-learn >= 1.0.2",
49+
"nltk >= 3.7",
50+
"colorama >= 0.4.4",
51+
"tqdm >= 4.63.0",
52+
"sentencepiece >= 0.1.96",
53+
"psutil >= 5.9.0",
54+
"pytorch_lightning >= 1.5.10",
5555
]
5656

5757
test = [
58-
"mypy >= 0.942",
59-
"pylint >= 2.13.5",
60-
"pytest >= 7.1.0",
61-
"pytest-cov >= 3.0.0",
62-
"tox >= 3.24.5",
63-
"pytest-html >= 3.1.1",
64-
"pandas >= 1.3.5",
65-
"datasets >= 1.18.3",
66-
"onnx >= 1.11.0",
58+
"mypy >= 0.942",
59+
"pylint >= 2.13.5",
60+
"pytest >= 7.1.0",
61+
"pytest-cov >= 3.0.0",
62+
"tox >= 3.24.5",
63+
"pytest-html >= 3.1.1",
64+
"pandas >= 1.3.5",
65+
"datasets >= 1.18.3",
66+
"onnx >= 1.11.0",
6767
]
6868

6969
doc = [
70-
"grip >= 4.6.0",
70+
"grip >= 4.6.0",
7171
]
7272

7373
[tool.mypy]
@@ -87,26 +87,26 @@ install_types = true
8787

8888
[tool.pytest.ini_options]
8989
addopts = """
90-
--cov=segmentador
91-
--last-failed
92-
--failed-first
93-
--new-first
94-
--cov-report=html
90+
--cov=segmentador
91+
--last-failed
92+
--failed-first
93+
--new-first
94+
--cov-report=html
9595
"""
9696
testpaths = [
97-
"tests",
97+
"tests",
9898
]
9999

100100
[tool.pylint.messages_control]
101101
generated-members = "torch.*"
102102
jobs = 4
103103
disable = """
104-
too-few-public-methods,
105-
too-many-locals,
106-
too-many-arguments,
107-
too-many-statements,
108-
too-many-branches,
109-
import-outside-toplevel
104+
too-few-public-methods,
105+
too-many-locals,
106+
too-many-arguments,
107+
too-many-statements,
108+
too-many-branches,
109+
import-outside-toplevel
110110
"""
111111
min-similarity-lines=10
112112

@@ -122,34 +122,34 @@ isolated_build = true
122122
[gh-actions]
123123
python =
124124
3.9: py39, mypy, pylint
125-
3.7: py37
125+
3.7: py37
126126
127127
[testenv]
128128
whitelist_externals = flit
129129
commands =
130-
pip install .
131-
pip install '.[test]'
132-
pip install '.[optimize]'
133-
python -m pytest src/ --doctest-modules --doctest-glob='**/*.py'
134-
python -m pytest
130+
pip install .
131+
pip install '.[test]'
132+
pip install '.[optimize]'
133+
python -m pytest src/ --doctest-modules --doctest-glob='**/*.py'
134+
python -m pytest
135135
136136
[testenv:mypy]
137137
basepython = python3.9
138138
deps = mypy
139139
commands =
140-
python -m mypy --install-types --non-interactive src/
141-
python -m mypy src/
140+
python -m mypy --install-types --non-interactive src/
141+
python -m mypy src/
142142
143143
[testenv:pylint]
144144
basepython = python3.9
145145
deps =
146-
pylint
147-
buscador @ git+https://github.com/ulysses-camara/ulysses-fetcher
148-
pytest
149-
datasets
150-
onnx
151-
onnxruntime
146+
pylint
147+
buscador @ git+https://github.com/ulysses-camara/ulysses-fetcher
148+
pytest
149+
datasets
150+
onnx
151+
onnxruntime
152152
commands =
153-
python -m pylint --disable='missing-function-docstring' tests/
154-
python -m pylint src/
153+
python -m pylint --disable='missing-function-docstring' tests/
154+
python -m pylint src/
155155
"""

src/segmentador/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
__version__ = importlib_metadata.version(__name__)
1313

1414
except importlib_metadata.PackageNotFoundError:
15-
__version__ = "0.1.0"
15+
__version__ = "0.2.1"

0 commit comments

Comments
 (0)