Skip to content

Commit

Permalink
Configuring for pure-python
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed May 15, 2020
1 parent ffc45c6 commit d485db4
Show file tree
Hide file tree
Showing 9 changed files with 167 additions and 273 deletions.
11 changes: 0 additions & 11 deletions .coveragerc

This file was deleted.

39 changes: 39 additions & 0 deletions .editorconfig
@@ -0,0 +1,39 @@
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
#
# EditorConfig Configuration file, for more details see:
# http://EditorConfig.org
# EditorConfig is a convention description, that could be interpreted
# by multiple editors to enforce common coding conventions for specific
# file types

# top-most EditorConfig file:
# Will ignore other EditorConfig files in Home directory or upper tree level.
root = true


[*] # For All Files
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Set default charset
charset = utf-8
# Indent style default
indent_style = space
# Max Line Length - a hard line wrap, should be disabled
max_line_length = off

[*.{py,cfg,ini}]
# 4 space indentation
indent_size = 4

[*.{yml,zpt,pt,dtml}]
# 2 space indentation
indent_size = 2

[{Makefile,.gitmodules}]
# Tab indentation (no size specified, but view as 4 spaces)
indent_style = tab
indent_size = unset
tab_width = unset
34 changes: 20 additions & 14 deletions .gitignore
@@ -1,18 +1,24 @@
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
*.egg-info/
*.profraw
*.pyc
*.so
*.dll
__pycache__
src/*.egg-info

.installed.cfg
.tox
bin
build
develop-eggs
parts
*.pyo
.coverage
.coverage.*
.installed.cfg
.mr.developer.cfg
.tox/
__pycache__/
bin/
build/
coverage.xml
nosetests.xml
develop-eggs/
dist/
docs/_build
eggs/
htmlcov/

docs/_build/
lib/
lib64
parts/
pyvenv.cfg
7 changes: 7 additions & 0 deletions .meta.cfg
@@ -0,0 +1,7 @@
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = pure-python
commit-id = ee6aa5dbb1a7c31c7655fb0cefe0091b9fccf6c8
fail-under = 0

45 changes: 27 additions & 18 deletions .travis.yml
@@ -1,25 +1,34 @@
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
language: python
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
- 2.7
- pypy
- 3.5
- 3.6
- 3.7
- 3.8
- pypy3

matrix:
include:
- python: "3.7"
dist: xenial
sudo: true
include:
- name: "lint"
python: 3.7
env: TOXENV="lint"
- name: "coverage"
python: 3.7
env: TOXENV="coverage"
after_success:
- coveralls

install:
- pip install -U pip setuptools
- pip install -U coverage coveralls
- pip install -U -e .[test]
- pip install -U pip
- pip install -U tox-travis coveralls

script:
- coverage run -m zope.testrunner --test-path=src
after_success:
- coveralls
- tox

notifications:
email: false
email: false

cache: pip
19 changes: 13 additions & 6 deletions MANIFEST.in
@@ -1,14 +1,21 @@
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
include *.rst
include *.txt
include tox.ini
include bootstrap.py
include buildout.cfg
include .travis.yml
include .coveragerc
include tox.ini

exclude MANIFEST.in

recursive-include src *
recursive-include docs *.bat
recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs Makefile

global-exclude *.pyc
recursive-include src *.gif
recursive-include src *.pt
recursive-include src *.py
recursive-include src *.rst
recursive-include src *.txt
recursive-include src *.xml
recursive-include src *.zcml
210 changes: 0 additions & 210 deletions bootstrap.py

This file was deleted.

0 comments on commit d485db4

Please sign in to comment.