Skip to content

Commit

Permalink
Merge pull request #7 from jesuejunior/master
Browse files Browse the repository at this point in the history
Fixing codecov version and adding some file for a good test env
  • Loading branch information
jesuejunior authored Jun 11, 2019
2 parents 3f33d9d + 2309182 commit 39db43a
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 15 deletions.
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={},
)

0 comments on commit 39db43a

Please sign in to comment.