Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Commit

Permalink
Rename dlint to whale-linter since dlint is already taken in debian p…
Browse files Browse the repository at this point in the history
…ackages
  • Loading branch information
jeromepin committed May 12, 2016
1 parent 782e71e commit 77c7411
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -61,5 +61,5 @@ target/
#Ipython Notebook
.ipynb_checkpoints

dlint/tests/
whalelinter/tests/
docker-tests/
2 changes: 1 addition & 1 deletion MANIFEST.in
@@ -1,2 +1,2 @@
include README.md
include dlint/config.json
include whalelinter/config.json
14 changes: 7 additions & 7 deletions README.md
@@ -1,8 +1,8 @@
# dlint
# whale-linter

**Dlint** is a cross-platform *Dockerfile* linter.
**whale-linter** is a cross-platform *Dockerfile* linter.

![alt text](dlint.png)
![alt text](whale-linter.png)

## Requirements

Expand All @@ -14,20 +14,20 @@
### PyPI : The easy way

```bash
pip install dlint
pip install whalelinter
```

and to upgrade :

```bash
pip install --upgrade dlint
pip install --upgrade whalelinter
```


## Usage

```bash
usage: dlint [-h] [-i RULE] [-v] DOCKERFILE
usage: whale-linter [-h] [-i RULE] [-v] DOCKERFILE

A simple non professional Dockerfile linter

Expand All @@ -48,4 +48,4 @@ Jerome Pin (@jerome_pin)

## Licence

MIT. See `LICENCE` file.
MIT. See `LICENCE` file.
5 changes: 0 additions & 5 deletions bin/dlint

This file was deleted.

5 changes: 5 additions & 0 deletions bin/whale-linter
@@ -0,0 +1,5 @@
#!/usr/bin/env python3

import whalelinter

whalelinter.run()
6 changes: 3 additions & 3 deletions setup.py
@@ -1,16 +1,16 @@
from setuptools import setup, find_packages

setup(
name='dlint',
name='whalelinter',
version='0.0.1',
packages=find_packages(),
scripts=['bin/dlint'],
scripts=['bin/whale-linter'],
author="Jerome Pin",
author_email="jeromepin38@gmail.com",
description="A simple nonprofessional Dockerfile linter",
long_description=open('README.md').read(),
include_package_data=True,
url='https://github.com/jeromepin/dlint',
url='https://github.com/jeromepin/whale-linter',
classifiers=[
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
Expand Down
File renamed without changes
10 changes: 5 additions & 5 deletions dlint/__init__.py → whalelinter/__init__.py
Expand Up @@ -5,10 +5,10 @@

from pkg_resources import get_distribution, DistributionNotFound

from dlint.app import App
from dlint.parser import Parser
from dlint.checker import Checker
from dlint.collecter import Collecter
from whalelinter.app import App
from whalelinter.parser import Parser
from whalelinter.checker import Checker
from whalelinter.collecter import Collecter

__all__ = ['run']

Expand All @@ -24,7 +24,7 @@ def run():
else:
__version__ = _dist.version

parser = argparse.ArgumentParser(description='A simple nonprofessional Dockerfile linter')
parser = argparse.ArgumentParser(description='A simple non professional Dockerfile linter')
parser.add_argument('-i', '--ignore', default=None, help='Rule to ignore', action='append')
parser.add_argument('-v', '--version', help='Print version', action='version', version='%(prog)s {}'.format(__version__))
parser.add_argument('dockerfile', help="The Dockerfile to lint")
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions dlint/checker.py → whalelinter/checker.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
from dlint.app import App
from dlint.dispatcher import Dispatcher
from dlint.commands.apt import Apt
from whalelinter.app import App
from whalelinter.dispatcher import Dispatcher
from whalelinter.commands.apt import Apt


class Checker(object):
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions dlint/commands/apt.py → whalelinter/commands/apt.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
from dlint.app import App
from dlint.dispatcher import Dispatcher
from whalelinter.app import App
from whalelinter.dispatcher import Dispatcher


class Apt(object):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion dlint/dispatcher.py → whalelinter/dispatcher.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
from dlint.app import App
from whalelinter.app import App

FUNCTION_CHAR = '_'

Expand Down
2 changes: 1 addition & 1 deletion dlint/parser.py → whalelinter/parser.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
import shlex
from dlint.app import App
from whalelinter.app import App


class Parser(object):
Expand Down

0 comments on commit 77c7411

Please sign in to comment.