initial
This commit is contained in:
commit
4b4b95ea98
12
.coveragerc
Normal file
12
.coveragerc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[run]
|
||||||
|
source = src/
|
||||||
|
branch = true
|
||||||
|
omit =
|
||||||
|
.venv/*
|
||||||
|
|
||||||
|
[report]
|
||||||
|
fail_under = 100
|
||||||
|
show_missing = True
|
||||||
|
skip_covered = False
|
||||||
|
omit =
|
||||||
|
tests/*
|
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Virtual environment
|
||||||
|
/.venv/
|
||||||
|
# IDE settings:
|
||||||
|
/.idea/
|
||||||
|
/.vscode/
|
||||||
|
# Distribution / packaging:
|
||||||
|
*.egg-info/
|
||||||
|
/dist/
|
||||||
|
# Python cache:
|
||||||
|
__pycache__/
|
3
coverage.sh
Executable file
3
coverage.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
coverage erase && coverage run -m unittest discover && coverage report
|
6
pyproject.toml
Normal file
6
pyproject.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = [
|
||||||
|
"setuptools>=42",
|
||||||
|
"wheel"
|
||||||
|
]
|
||||||
|
build-backend = "setuptools.build_meta"
|
3
requirements/common.txt
Normal file
3
requirements/common.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
PyYAML
|
||||||
|
requests[req]
|
||||||
|
aiohttp[aio]
|
2
requirements/dev.txt
Normal file
2
requirements/dev.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
-r common.txt
|
||||||
|
coverage
|
31
setup.cfg
Normal file
31
setup.cfg
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
[metadata]
|
||||||
|
name = yamlhttpforms
|
||||||
|
version = 0.0.1
|
||||||
|
author = Daniil F.
|
||||||
|
author_email = mail@placeholder123.to
|
||||||
|
description = HTTP forms defined in YAML
|
||||||
|
long_description = file: README.md
|
||||||
|
long_description_content_type = text/markdown
|
||||||
|
url = https://git.fajnberg.de/daniil/yamlhttpforms
|
||||||
|
classifiers =
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
Operating System :: OS Independent
|
||||||
|
|
||||||
|
[options]
|
||||||
|
package_dir =
|
||||||
|
= src
|
||||||
|
packages = find:
|
||||||
|
python_requires = >=3.8
|
||||||
|
install_requires =
|
||||||
|
PyYAML
|
||||||
|
|
||||||
|
[options.extras_require]
|
||||||
|
tests =
|
||||||
|
coverage
|
||||||
|
req =
|
||||||
|
requests
|
||||||
|
aio =
|
||||||
|
aiohttp
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
where = src
|
0
src/yamlhttpforms/__init__.py
Normal file
0
src/yamlhttpforms/__init__.py
Normal file
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user