forked from genzstaking/csc-docker-pool
-
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.
- Loading branch information
1 parent
ba47c05
commit 6456953
Showing
9 changed files
with
40 additions
and
8 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
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 |
---|---|---|
|
@@ -53,3 +53,4 @@ MANIFEST | |
.conda*/ | ||
.python-version | ||
/tmp/ | ||
/htmlcov/ |
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ name = "pypi" | |
|
||
[dev-packages] | ||
tox = "*" | ||
setuptools_scm = "*" | ||
|
||
[requires] | ||
python_version = "3.9" |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# csc-docker-pool | ||
|
||
CSC Docker tools |
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 |
---|---|---|
|
@@ -10,21 +10,21 @@ author = maso | |
author_email = [email protected] | ||
license = MIT | ||
license_files = LICENSE.txt | ||
long_description = file: README.rst | ||
long_description = file: README.md | ||
long_description_content_type = text/x-rst; charset=UTF-8 | ||
url = https://github.com/pyscaffold/pyscaffold/ | ||
# Add here related links, for example: | ||
project_urls = | ||
Documentation = https://pyscaffold.org/ | ||
# Source = https://github.com/pyscaffold/pyscaffold/ | ||
Source = https://github.com/genz-bank/csc-docker-pool | ||
# Changelog = https://pyscaffold.org/en/latest/changelog.html | ||
# Tracker = https://github.com/pyscaffold/pyscaffold/issues | ||
# Conda-Forge = https://anaconda.org/conda-forge/pyscaffold | ||
# Download = https://pypi.org/project/PyScaffold/#files | ||
# Twitter = https://twitter.com/PyScaffold | ||
|
||
# Change if running only on Windows, Mac or Linux (comma-separated) | ||
platforms = any | ||
platforms = Linux | ||
|
||
# Add here all kinds of additional classifiers as defined under | ||
# https://pypi.org/classifiers/ | ||
|
@@ -91,12 +91,21 @@ console_scripts = | |
# CAUTION: --cov flags may prohibit setting breakpoints while debugging. | ||
# Comment those flags to avoid this pytest issue. | ||
addopts = | ||
--cov csc_docker_pool --cov-report term-missing | ||
--verbose | ||
--cov csc_docker_pool | ||
--cov-report term-missing | ||
--cov-report term | ||
--cov-report html:htmlcov | ||
--cov-report xml | ||
--cov src/csc_docker_pool | ||
norecursedirs = | ||
dist | ||
build | ||
.pytest_cache | ||
.tox | ||
build | ||
dist | ||
cetd | ||
docs | ||
tmp | ||
testpaths = tests | ||
# Use pytest markers to select/deselect specific tests | ||
# markers = | ||
|
Empty file.
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,21 @@ | ||
|
||
|
||
|
||
|
||
def parse_args(subparsers): | ||
parser_config = subparsers.add_parser( | ||
'staking', | ||
help='Manages staking node' | ||
) | ||
subparsers_config = parser_config.add_subparsers( | ||
title="Configuration commands", | ||
description="Many tools are provided to manage configuration. They are available view commands." | ||
) | ||
|
||
#---------------------------------------------------------- | ||
# Config | ||
#---------------------------------------------------------- | ||
parser_config_init = subparsers_config.add_parser( | ||
'init', | ||
help='Initialize the configuration' | ||
) |
Empty file.