Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing codecov version and adding some file for a good test env #7

Merged
merged 6 commits into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

[report]
omit =
**/__main__.py
42 changes: 42 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Extensions
*.pyc
/.git
*.swp
*.swo
.DS_Store
*.sqlite3
.idea
*.md
*.log

# files
README.md
docker-compose.yml

# folders
dist/
build/
tyrion.egg-info/
.mypy_cache/
.pytest_cache
.circleci/
.coverage

test
*.*.*.test*
.cache
__pycache__

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Pipfile.lock linguist-generated=true
docs/* linguist-generated=true
docs-src/locale/* linguist-generated=true
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "pypi"
asynctest = "==0.12.1"
pytest = "==4.0.1"
pytest-cov = "==2.6.0"
codecov = "==1.0.0"
codecov = "==2.0.15"
mypy = "==0.630"
black = "==18.9b0"
isort = "==4.3.15"
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[pycodestyle]
# ignore
# - line-length (black já corrige)
# - line break before binary operator
ignore = E501, W503
26 changes: 26 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
from codecs import open # To use a consistent encoding
from os import path

from setuptools import find_packages, setup # Always prefer setuptools over distutils

here = path.abspath(path.dirname(__file__))

setup(
name="python-boilerplate",
version="0.0.1",
description="Python Boilerplate Project",
long_description="",
url="https://github.com/daltonmatos/python-boilerplate",
# Author details
author="Dalton Matos",
author_email="daltonmatos@gmail.com",
license="MIT",
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
test_suite="tests",
install_requires=[],
entry_points={},
)