-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include poetry and build related files as requested by WP2 (#17)
* Change local port from 6060 to 5050 * Include poetry and build environment related files as requested by WP2. --------- Co-authored-by: Otto Waltari <[email protected]>
- Loading branch information
Showing
4 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
repos: | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
- repo: https://github.com/psf/black | ||
rev: 23.1.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/charliermarsh/ruff-pre-commit | ||
rev: v0.0.63 | ||
hooks: | ||
- id: lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: wp4-aud_manager | ||
Source: https://github.com/sifis-home/wp4-aud_manager | ||
|
||
Files: * | ||
Copyright: 2022 sifis-home | ||
License: MIT |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[tool.poetry] | ||
name = "wp4-aud_manager" | ||
version = "0.1" | ||
description = "Anomaly detection analytic for WP4 analytics toolbox." | ||
authors = [""] | ||
repository = "https://github.com/sifis-home/wp4-aud_manager" | ||
license = "MIT" | ||
classifiers = [ | ||
"Intended Audience :: End Users/Desktop", | ||
"License :: OSI Approved :: MIT", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3 :: Only", | ||
] | ||
include = ["README.md", "LICENSES/MIT.txt"] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9,<3.11" | ||
docker = "^6.1.3" | ||
websocket-client = "1.4.2" | ||
pytest = "7.4.0" | ||
flask = "2.2.2" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^7.2.1" | ||
pre-commit = "^3.0.4" | ||
black = "^23.1.0" | ||
isort = "^5.12.0" | ||
ruff = "^0.0.63" | ||
coverage = {extras = ["toml"], version = "^7.1.0"} | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.black] | ||
line-length = 79 | ||
|
||
[tool.isort] | ||
profile = "black" | ||
line_length = 79 | ||
|
||
[tool.ruff] | ||
line-length = 79 | ||
select = [ | ||
"F401", | ||
"F403", | ||
] | ||
|
||
[tool.coverage.run] | ||
omit = [".*", "*/site-packages/*"] | ||
|
||
[tool.coverage.report] | ||
fail_under = 60 |