Skip to content

Commit

Permalink
last change
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafabarmshory committed Jun 28, 2022
1 parent ba47c05 commit 6456953
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ source = csc_docker_pool

[paths]
source =
src/
*/site-packages/
src/csc_docker_pool

[report]
# Regexes for lines to exclude from consideration
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ MANIFEST
.conda*/
.python-version
/tmp/
/htmlcov/
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ name = "pypi"

[dev-packages]
tox = "*"
setuptools_scm = "*"

[requires]
python_version = "3.9"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# csc-docker-pool

CSC Docker tools
File renamed without changes.
21 changes: 15 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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 =
Expand Down
Empty file.
21 changes: 21 additions & 0 deletions src/csc_docker_pool/staking_cli.py
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 added tests/__init__.py
Empty file.

0 comments on commit 6456953

Please sign in to comment.