Commit 6b1cc180 authored by user's avatar user
Browse files

Initial import

parents
[run]
omit = */__init__.py
root = true
[*]
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
max_line_length = 79
indent_size = 2
[*.py]
indent_size = 4
[Makefile]
indent_style = tab
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
.pytest_cache/
# Translations
*.mo
*.pot
# Sphinx documentation
docs/_build/
# dotenv
.env
# virtualenv
.venv
venv/
ENV/
[tool.black]
line-length = 79
target-version = ['py36', 'py37', 'py38', 'py39']
exclude = '''
/(
| docs
| .*__init__\.py
| .*_version\.py
)/
'''
[metadata]
name = CHANGEME
description = CHANGEME
author = CHANGEME
author_email = CHANGEME
license = MIT license
url = https://CHANGEME
keywords = CHANGEME
classifiers =
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
Intended Audience :: System Administrators
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
long_description = file: README.rst
long_description_content_type = text/x-rst
license_files = LICENSE.rst
project_urls =
Documentation = https://CHANGEME
Source = https://CHANGEME
Tracker = https://CHANGEME
[options]
packages = find:
include_package_data = True
# See stable releases at https://www.python.org/downloads/
python_requires = >= 3.6
[options.extras_require]
test =
black
coverage
flake8
flake8-docstrings
pytest
tox
doc =
sphinx
dev =
black
flake8
[options.entry_points]
console_scripts =
changeme = changeme.cli:main
[aliases]
# Define setup.py command aliases here
test = pytest
[flake8]
max-line-length = 79
# To ignore D103 Missing docstring, add it in the next line
extend-ignore = E203, W503
exclude = docs/*
[pytest]
log_cli=true
log_cli_level=DEBUG
[coverage:run]
# Do not give error on empty __init__ files
omit = */__init__.py
source = changeme
"""The setup script."""
import setuptools
[tox]
skip_missing_interpreters = True
envlist =
py{36, 37, 38, 39, nightly}
black,
lint
doc,
stats
[testenv]
usedevelop = true
deps = .[test]
commands =
python -m coverage run --append --module pytest
[testenv:black]
skip_install = True
deps = black
commands =
black --check --diff changeme tests
[testenv:lint]
skip_install = True
deps = flake8
commands =
flake8 changeme tests
[testenv:stats]
skip_install = True
deps = coverage
commands=
python -m coverage report
python -m coverage html
[testenv:doc]
deps = .[doc]
whitelist_externals = make
changedir = {toxinidir}/docs
commands =
make html
make man
[testenv:clean]
skip_install = True
deps = coverage
command = coverage erase
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment