Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
levi-rs committed Sep 20, 2017
1 parent 3c9fff7 commit 2370207
Show file tree
Hide file tree
Showing 12 changed files with 132 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: python
sudo: false
os:
- linux
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install -U pip
- pip install -U setuptools
- pip install -U tox
- pip install -U tox-travis
- pip install python-coveralls
- pip install coverage
script:
- tox -v --recreate
after_success:
- coveralls
deploy:
provider: pypi
user: levinoecker
password:
secure: mWmOYbIXbEDunP72CPScobzS1+q+vow/K+sQnCVtl6As5klMT3C3cUlORgHhVPmn2bEY01APMZRXRXjD4DdoYj4HGbzm/DJ7vXD7q3VA3GWkYf0M3UOZ2Ea6hg4rRP3sqJP9JCSs5uWN1EBWZZs1L4zfu00d1WaTTFn+5723K0hwJJQsIPobFzXc+1bkGvhRFZc7JTVBYWWQWm98B14sYw5KwvEfAJp8rCTIiw6BGaL9LYtEVkoQQXcf3fORFz7fwfayPiRWDTwDIUTa/JPjwdWUkL7LlK42HbsIpl02ojsdFyRecXC6/1bj8Owp6tXjti1gxOZkhuwhhohjZ8vzzzBGidGZYZfI5YdPBVKvTpVimCyZACLVh0eQ68Td76V97l46e8yVtE/2MRTUmkNUHrTq3e2H3jJTuLPlsRbsfsVmYUabzGyo/lqzz9nfqVkLkkh5zS8PGGwQo/K5GmiVtlMzSh9tnXV5CpxJpmp4BkvChpMmlrTb1KTCnsjO+/DUahuNm6u3osQPC7ZFAs5NkEgvKhn4UD1pryEf0IaDUXcTaWnF3LfeSYX09dqMPnX4dkaXb1jTsGmmnPSWLiIhJ6yNkhQfzbDGvaWhEAj6GgIFPIC5M0wI6MMuv3xExAWSQ5MdUHFMJJ3JIK3BRo4BYoSzd5C9EEFfgrG2RXbSMWw=
distributions: sdist bdist_wheel
on:
branch: master
tags: true
python: '3.6'
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Levi Noecker <levi-rs@users.noreply.github.com>
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CHANGES
=======

* Initial commit
15 changes: 15 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Docker Nuke
===========

|PyPIVersion| |TravisCI| |CoverageStatus| |CodeHealth| |PythonVersions|

.. |TravisCI| image:: https://travis-ci.org/levi-rs/docker-nuke.svg?branch=master
:target: https://travis-ci.org/levi-rs/docker-nuke
.. |CoverageStatus| image:: https://coveralls.io/repos/github/levi-rs/docker-nuke/badge.svg
:target: https://coveralls.io/github/levi-rs/docker-nuke
.. |CodeHealth| image:: https://landscape.io/github/levi-rs/docker-nuke/master/landscape.svg?style=flat
:target: https://landscape.io/github/levi-rs/docker-nuke/master
.. |PyPIVersion| image:: https://badge.fury.io/py/docker-nuke.svg
:target: https://badge.fury.io/py/docker-nuke
.. |PythonVersions| image:: https://img.shields.io/pypi/pyversions/docker-nuke.svg
:target: https://wiki.python.org/moin/Python2orPython3
Empty file added dockernuke/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions dockernuke/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def main():
pass
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
docker
pbr>=3.0
47 changes: 47 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[metadata]
name = docker-nuke
author = Levi Noecker
author-email = levi.noecker@gmail.com
summary = Remove all Docker containers, images, and volumes
description-file = README.rst
home-page = https://github.com/levi-rs/docker-nuke
license = MIT
keywords = docker docker-utils
classifier =
Development Status :: 3 - Alpha
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: Implementation :: CPython

[entry_points]
console_scripts =
docker-nuke = dockernuke.main:main

[files]
packages =
docker-nuke

[wheel]
universal = 1

[flake8]
count = True
statistics = True
max-complexity = 10
max-line-length = 100
exclude =
.git,
__pycache__,
docs/source/conf.py,
old,
build,
dist
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from setuptools import setup

setup(
setup_requires=['pbr>=1.9', 'setuptools>=17.1'],
pbr=True,
)
Empty file added tests/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from dockernuke.main import main


def test_placeholder():
assert main() is None
20 changes: 20 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[tox]
skipdist = True
envlist = py{27,34,35,36},lint
skip_missing_interpreters=True

[testenv:lint]
deps =
flake8
commands =
flake8 setup.py dockernuke tests

[testenv]
deps =
-rrequirements.txt
mock
pytest
pytest-cov
pytest-sugar
commands =
py.test -s --cov dockernuke --cov-report term-missing:skip-covered tests []

0 comments on commit 2370207

Please sign in to comment.