diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9df6932 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,90 @@ +[tool] +[tool.poetry] +name = "twistnsync" +version = "0.1.0" +homepage = "https://github.com/MobileRoboticsSkoltech/twistnsync" +description = "Twist-n-Sync is time synchronization algorithm that employs IMU gyroscope data." +authors = ["Marsel Faizullin "] +readme = "README.md" +license = "Apache-2.0" +classifiers=[ + 'Development Status :: 2 - Pre-Alpha', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: Apache Software License', + 'Natural Language :: English', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', +] +packages = [ + { include = "twistnsync" }, +] + +[tool.poetry.dependencies] +python = ">=3.6.1,<4.0" + +black = { version = "20.8b1", optional = true} +isort = { version = "5.6.4", optional = true} +flake8 = { version = "3.8.4", optional = true} +flake8-docstrings = { version = "^1.6.0", optional = true } +pytest = { version = "6.1.2", optional = true} +pytest-cov = { version = "2.10.1", optional = true} +tox = { version = "^3.20.1", optional = true} +virtualenv = { version = "^20.2.2", optional = true} +pip = { version = "^20.3.1", optional = true} +mkdocs = { version = "^1.1.2", optional = true} +mkdocs-include-markdown-plugin = { version = "^1.0.0", optional = true} +mkdocs-material = { version = "^6.1.7", optional = true} +mkdocstrings = { version = "^0.16.0", optional = true} +mkdocs-material-extensions = { version = "^1.0.1", optional = true} +twine = { version = "^3.3.0", optional = true} +mkdocs-autorefs = {version = "0.1.1", optional = true} +pre-commit = {version = "^2.12.0", optional = true} +toml = {version = "^0.10.2", optional = true} + +[tool.poetry.extras] +test = [ + "pytest", + "black", + "isort", + "flake8", + "flake8-docstrings", + "pytest-cov" + ] + +dev = ["tox", "pre-commit", "virtualenv", "pip", "twine", "toml"] + +doc = [ + "mkdocs", + "mkdocs-include-markdown-plugin", + "mkdocs-material", + "mkdocstrings", + "mkdocs-material-extension", + "mkdocs-autorefs" + ] + + + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" + +[tool.black] +line-length = 88 +include = '\.pyi?$' +exclude = ''' +/( + \.eggs + | \.git + | \.hg + | \.mypy_cache + | \.tox + | \.venv + | _build + | buck-out + | build + | dist +)/ +''' diff --git a/pyrightconfig.json b/pyrightconfig.json deleted file mode 100644 index b113afb..0000000 --- a/pyrightconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "comments": "This is for pylance extension of vscode. Remove me if you're not intented to use vscode.", - "exclude": [ - ".git", - ".eggs", - ".github", - ".history", - ".idea", - ".tox", - ".vscode", - "docs", - "**/__pycache__", - "MobileRoboticsSkoltech_twistnsync.egg-info" - ], - - "ignore": [ - "src/oldstuff" - ], - - "reportMissingImports": true, - "reportMissingTypeStubs": false, - "pythonVersion": "3.8" -}