22requires = [" poetry-core" ]
33build-backend = " poetry.core.masonry.api"
44
5-
6- [tool .poetry ]
5+ [project ]
76name = " LabIFSC2"
87version = " 0.1.1"
98description = " Cálculos de laboratório com Python, realize propagação de incertezas e conversão de medidas automaticamente"
10- authors = [" viniciusdutra314 < dutravinisousa2@usp.br> " ]
9+ authors = [{ name = " viniciusdutra314" , email = " dutravinisousa2@usp.br" }, ]
1110license = " GNU General Public License v3.0"
1211readme = " README.md"
1312packages =[{include = " LabIFSC2" }]
13+ requires-python = " >=3.11"
1414classifiers =[
1515 " Development Status :: 5 - Production/Stable" ,
1616 " Natural Language :: Portuguese (Brazilian)" ,
17- " Programming Language :: Python :: 3.10" ,
1817 " Programming Language :: Python :: 3.11" ,
1918 " Programming Language :: Python :: 3.12" ,
19+ " Programming Language :: Python :: 3.13" ,
2020 " Topic :: Scientific/Engineering" ,
2121 " Typing :: Typed" ,
2222 " Operating System :: OS Independent" ,
2323 " Intended Audience :: Science/Research" ,
2424 " Intended Audience :: Developers" ,
2525]
2626keywords =[" LabIFSC" ," montecarlo" ," error_propagation" ," unit_conversion" ]
27+ dependencies =[
28+ " numpy >= 2.0" ,
29+ " pint >=0.25"
30+ ]
31+
2732
28- [tool . poetry .urls ]
33+ [project .urls ]
2934"Documentation" = " https://labifsc2.readthedocs.io/pt-br/latest/"
3035"Github" = " https://github.com/viniciusdutra314/LabIFSC2"
3136"Issue Tracker" =" https://github.com/viniciusdutra314/LabIFSC2/issues"
3237
33- [tool .poetry .dependencies ]
34- python = " >=3.10 , <3.13"
35- numpy = " >= 1.26"
36- pint = " ^0.24"
37-
3838
3939[tool .poetry .group .docs .dependencies ]
4040mkdocs-material = " ^9.5.4"
@@ -53,7 +53,6 @@ scipy = "^1.15.1"
5353
5454
5555[tool .poetry .group .linter .dependencies ]
56- taskipy = " ^1.14.1"
5756isort = " ^5.13.2"
5857mypy = " 1.14.1"
5958
@@ -66,7 +65,24 @@ strict = false
6665disallow_any_generics = false
6766exclude = ' tests/.*'
6867
69- [tool .taskipy .tasks ]
70- testes ={ cmd =" isort . && mypy LabIFSC2/ --exclude LabIFSC2/_tipagem_forte.py && pytest -vv -x -s --cov LabIFSC2/ --cov-append --no-cov-on-fail --cov-branch --cov-report=html " }
71- docs =" mkdocs serve"
68+ # all tasks
69+
70+ [tool .poetry .requires-plugins ]
71+ poethepoet = " >=0.35"
72+
73+ [tool .poe .tasks .tests ]
74+ help =" Run the unit tests (pytest), a type checker (mypy) and a test coverage (ptytest-cov)"
75+ sequence = [" type-checking" ," unit-tests" ]
76+
77+ [tool .poe .tasks .type-checking ]
78+ help =" Run a type checker (mypy)"
79+ cmd =" mypy LabIFSC2/ --exclude LabIFSC2/_tipagem_forte.py"
80+
81+ [tool .poe .tasks .unit-tests ]
82+ help =" Run the unit tests (pytest)"
83+ cmd = " pytest -vv -x -s --cov LabIFSC2/ --cov-append --no-cov-on-fail --cov-branch --cov-report=html"
84+
85+ [tool .poe .tasks .docs ]
86+ help =" Create the documentation"
87+ cmd =" mkdocs serve"
7288
0 commit comments