Skip to content
Snippets Groups Projects
Unverified Commit ea596bf4 authored by Marcin Wątroba's avatar Marcin Wątroba
Browse files

Add poetry

parent f726d29a
Branches
1 merge request!4Feature/add poetry
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PyDocumentationSettings">
<option name="format" value="PLAIN" />
<option name="myDocStringFormat" value="Plain" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="pytest" />
</component>
</module>
\ No newline at end of file
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredPackages">
<value>
<list size="6">
<item index="0" class="java.lang.String" itemvalue="tensorflow-gpu" />
<item index="1" class="java.lang.String" itemvalue="tensorflow" />
<item index="2" class="java.lang.String" itemvalue="mysql-connector-python" />
<item index="3" class="java.lang.String" itemvalue="dateutil" />
<item index="4" class="java.lang.String" itemvalue="pytest" />
<item index="5" class="java.lang.String" itemvalue="celery" />
</list>
</value>
</option>
</inspection_tool>
<inspection_tool class="PyPep8Inspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="E402" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="dict.__getitem__" />
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (asr-benchmarks)" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/asr-benchmarks.iml" filepath="$PROJECT_DIR$/.idea/asr-benchmarks.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
This diff is collapsed.
[tool.poetry]
name = "asr-benchmarks"
version = "0.1.0"
description = "Library to benchmark ASR systems"
authors = [
"Piotr Szymański <niedakh@gmail.com>",
"Marcin Wątroba <markowanga@gmail.com>"
]
license = "MIT license"
[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.20.1"
requests = "^2.25.1"
pandas = "^1.2.4"
fasttext = "^0.9.2"
pymongo = "^3.11.4"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
mypy = "^0.812"
black = "^20.8b1"
typing-extensions = "^3.7.4"
isort = { version = "^5.9.1", extras = ["pyproject"] }
pyflakes = "2.3.1"
poethepoet = "^0.10.0"
[tool.poe.tasks]
black = "black -v --check ./"
isort = "isort . -c"
pyflakes = "pyflakes ."
mypy = "mypy --strict ."
test = "pytest"
check = ["black", "isort", "pyflakes"]
all = ["check", "test"]
[tool.poetry.extras]
developer = ["black", "mypy", "typing-extensions"]
[build-system]
requires = ["poetry>=1.1.5"]
build-backend = "poetry.masonry.api"
[mypy]
python_version = 3.8
[pytest]
testpaths = "tests"
[tool.black]
line-length = 100
[tool.isort]
line_length = 100
known_first_party = 'embeddings'
known_third_party = ["click", "pytest"]
profile = "black"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment