forked from jamescooke/flake8-aaa
-
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.
Merge pull request jamescooke#7 from jamescooke/alpha
Prep v0.1.0 as an alpha release
- Loading branch information
Showing
18 changed files
with
146 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
Changelog | ||
========= | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on `Keep a Changelog | ||
<http://keepachangelog.com/en/1.0.0/>`_ and this project adheres to `Semantic | ||
Versioning <http://semver.org/spec/v2.0.0.html>`_. | ||
|
||
|
||
Unreleased_ | ||
----------- | ||
|
||
0.1.0 - 2018/04/13 | ||
------------------ | ||
|
||
Initial alpha release. | ||
|
||
.. _Unreleased: https://github.com/constructpm/pysyncgateway/compare/v0.1.0...HEAD |
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,2 @@ | ||
include LICENSE | ||
include README.rst |
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
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,11 @@ | ||
from __future__ import absolute_import, print_function, unicode_literals | ||
|
||
__short_name__ = 'aaa' | ||
__name__ = 'flake8-{}'.format(__short_name__) | ||
__version__ = '0.1.0' | ||
|
||
__author__ = 'James Cooke' | ||
__copyright__ = '2018, {}'.format(__author__) | ||
|
||
__description__ = 'Flake8 plugin that checks Pytest tests follow the Arrange Act Assert pattern' | ||
__email__ = '[email protected]' |
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
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,5 +1,3 @@ | ||
astroid>=1.6 | ||
asttokens>=1.1.10 | ||
flake8>=3 | ||
py>=1.5 | ||
six>=1.11.0 |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
ipdb | ||
ipython | ||
pip-tools | ||
twine |
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 |
---|---|---|
|
@@ -4,5 +4,7 @@ flake8 | |
isort | ||
pytest | ||
pytest-flake8dir | ||
restructuredtext-lint | ||
six | ||
tox | ||
yapf |
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
[settings] | ||
[isort] | ||
include_trailing_comma=True | ||
known_first_party=flake8_aaa | ||
line_length=120 | ||
multi_line_output=3 | ||
not_skip=__init__.py | ||
|
||
[flake8] | ||
max-line-length = 120 | ||
|
||
[yapf] | ||
dedent_closing_brackets = true | ||
column_limit = 120 |
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,14 +1,31 @@ | ||
from __future__ import unicode_literals | ||
|
||
import setuptools | ||
import os | ||
|
||
setuptools.setup( | ||
name='flake8-aaa', | ||
from setuptools import setup | ||
|
||
basedir = os.path.dirname(__file__) | ||
|
||
|
||
def readme(): | ||
with open(os.path.join(basedir, 'README.rst')) as f: | ||
return f.read() | ||
|
||
|
||
about = {} | ||
with open(os.path.join(basedir, 'flake8_aaa', '__about__.py')) as f: | ||
exec(f.read(), about) | ||
|
||
setup( | ||
# --- META --- | ||
description='Flake8 plugin to check the style of Python tests to 3A standard', | ||
name=about['__name__'], | ||
version=about['__version__'], | ||
description=about['__description__'], | ||
license='MIT', | ||
version='0.0.0', | ||
long_description=readme(), | ||
author='James Cooke', | ||
author_email='[email protected]', | ||
url='https://github.com/jamescooke/flake8-aaa', | ||
|
||
# --- Python --- | ||
packages=['flake8_aaa'], | ||
|
@@ -17,12 +34,22 @@ | |
'astroid >= 1.6', | ||
'asttokens >= 1.1.10', | ||
'flake8 >= 3', | ||
'py >= 1.5', | ||
'six >= 1.11.0', | ||
], | ||
entry_points={ | ||
'flake8.extension': [ | ||
'AAA = flake8_aaa:Checker', | ||
], | ||
}, | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Framework :: Flake8', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python', | ||
], | ||
zip_safe=False, | ||
) |
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