summaryrefslogtreecommitdiff
path: root/contrib/python/pypodman/.pylintrc
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-09-06 14:32:14 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-09-21 19:36:01 +0000
commite6074eb9acbd3964ee0c1ea6a9b5ec68fa309687 (patch)
treed179de82395003a6281427b1642ef40a1f577ef5 /contrib/python/pypodman/.pylintrc
parent09f506930c1c585b12e9ad89044528da23d2851a (diff)
downloadpodman-e6074eb9acbd3964ee0c1ea6a9b5ec68fa309687.tar.gz
podman-e6074eb9acbd3964ee0c1ea6a9b5ec68fa309687.tar.bz2
podman-e6074eb9acbd3964ee0c1ea6a9b5ec68fa309687.zip
Implement new subcommands
* Refactor create subparser to share arguments with run subparser * Add argparse.*Action subclasses to reduce duplicate code in parsers * Using BooleanAction now accept True/False value as expected * .pylintrc added to loosen variable name policing * Update AbstractBaseAction to remove unset arguments before transmitting to podman service * Align logging messages to podman output * Renamed global argument from --user to --username, to avoid conflict with create/run podman commands * Add new subcommands: run, create, history, import, info, push, restart and search Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #1519 Approved by: rhatdan
Diffstat (limited to 'contrib/python/pypodman/.pylintrc')
-rw-r--r--contrib/python/pypodman/.pylintrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/python/pypodman/.pylintrc b/contrib/python/pypodman/.pylintrc
new file mode 100644
index 000000000..eed3ae65b
--- /dev/null
+++ b/contrib/python/pypodman/.pylintrc
@@ -0,0 +1,4 @@
+[VARIABLES]
+
+# Enforce only pep8 variable names
+variable-rgx=[a-z0-9_]{1,30}$