-
Notifications
You must be signed in to change notification settings - Fork 13
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 #86 from zopefoundation/config-with-pure-python
Config with pure python
- Loading branch information
Showing
128 changed files
with
394 additions
and
409 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,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,zcml}] | ||
# 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 |
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,65 @@ | ||
# Generated from: | ||
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
name: tests | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 12 * * 0' # run once a week on Sunday | ||
# Allow to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
# We want to see all failures: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu | ||
config: | ||
# [Python version, tox env] | ||
- ["3.9", "lint"] | ||
- ["2.7", "py27"] | ||
- ["3.5", "py35"] | ||
- ["3.6", "py36"] | ||
- ["3.7", "py37"] | ||
- ["3.8", "py38"] | ||
- ["3.9", "py39"] | ||
- ["3.10", "py310"] | ||
- ["pypy-2.7", "pypy"] | ||
- ["pypy-3.7", "pypy3"] | ||
- ["3.9", "docs"] | ||
- ["3.9", "coverage"] | ||
|
||
runs-on: ${{ matrix.os }}-latest | ||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
name: ${{ matrix.config[1] }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.config[0] }} | ||
- name: Pip cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip-${{ matrix.config[0] }}- | ||
${{ runner.os }}-pip- | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install tox | ||
- name: Test | ||
run: tox -e ${{ matrix.config[1] }} | ||
- name: Coverage | ||
if: matrix.config[1] == 'coverage' | ||
run: | | ||
pip install coveralls coverage-python-version | ||
coveralls --service=github | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,27 +1,32 @@ | ||
# Generated from: | ||
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
*.dll | ||
*.egg-info/ | ||
*.profraw | ||
*.pyc | ||
/.cache/ | ||
/.tox/ | ||
/build/ | ||
/dist/ | ||
/doc/_build | ||
ZConfig.egg-info | ||
*.pyo | ||
*.so | ||
.coverage | ||
.coverage.* | ||
.eggs/ | ||
.installed.cfg | ||
.mr.developer.cfg | ||
.tox/ | ||
.vscode/ | ||
__pycache__/ | ||
nosetests.xml | ||
|
||
# Buildout | ||
# | ||
/.installed.cfg | ||
/bin/ | ||
/develop-eggs/ | ||
/eggs/ | ||
/parts/ | ||
|
||
# Coverage | ||
# | ||
# No / at the end of htmlcov so it can be a symlink that points to some | ||
# more interesting location (possibly served by a webserver). | ||
# | ||
/.coverage | ||
/.coverage.* | ||
/coverage.xml | ||
/htmlcov | ||
bin/ | ||
build/ | ||
coverage.xml | ||
develop-eggs/ | ||
develop/ | ||
dist/ | ||
docs/_build | ||
eggs/ | ||
etc/ | ||
lib/ | ||
lib64 | ||
log/ | ||
parts/ | ||
pyvenv.cfg | ||
testing.log | ||
var/ |
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,31 @@ | ||
# Generated from: | ||
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
[meta] | ||
template = "pure-python" | ||
commit-id = "b4cfc9ca6065ca82646fa69d04ee4c15c58035e1" | ||
|
||
[python] | ||
with-windows = false | ||
with-pypy = true | ||
with-future-python = false | ||
with-legacy-python = true | ||
with-docs = true | ||
with-sphinx-doctests = false | ||
|
||
[tox] | ||
use-flake8 = true | ||
|
||
[coverage] | ||
fail-under = 95 | ||
|
||
[manifest] | ||
additional-rules = [ | ||
"include *.yml", | ||
"recursive-include docs *.bat", | ||
"recursive-include docs *.conf", | ||
"recursive-include docs *.dtd", | ||
"recursive-include src *.conf", | ||
"recursive-include src *.txt", | ||
"recursive-include src *.xml", | ||
"recursive-include src *.zip", | ||
] |
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
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,23 @@ | ||
<!-- | ||
Generated from: | ||
https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
--> | ||
# Contributing to zopefoundation projects | ||
|
||
The projects under the zopefoundation GitHub organization are open source and | ||
welcome contributions in different forms: | ||
|
||
* bug reports | ||
* code improvements and bug fixes | ||
* documentation improvements | ||
* pull request reviews | ||
|
||
For any changes in the repository besides trivial typo fixes you are required | ||
to sign the contributor agreement. See | ||
https://www.zope.dev/developer/becoming-a-committer.html for details. | ||
|
||
Please visit our [Developer | ||
Guidelines](https://www.zope.dev/developer/guidelines.html) if you'd like to | ||
contribute code changes and our [guidelines for reporting | ||
bugs](https://www.zope.dev/developer/reporting-bugs.html) if you want to file a | ||
bug report. |
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,21 +1,22 @@ | ||
# Generated from: | ||
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
include *.md | ||
include *.rst | ||
include *.txt | ||
include *.yml | ||
include .travis.yml | ||
include .coveragerc | ||
include tox.ini | ||
include bootstrap.py | ||
include buildout.cfg | ||
include tox.ini | ||
|
||
recursive-include ZConfig * | ||
recursive-include doc *.py | ||
recursive-include doc *.rst | ||
recursive-include doc *.dtd | ||
recursive-include doc *.conf | ||
recursive-include doc Makefile | ||
recursive-include doc make.bat | ||
|
||
prune doc/_build | ||
recursive-include docs *.py | ||
recursive-include docs *.rst | ||
recursive-include docs *.txt | ||
recursive-include docs Makefile | ||
|
||
global-exclude *.pyc | ||
global-exclude *.pyo | ||
recursive-include src *.py | ||
include *.yml | ||
recursive-include docs *.bat | ||
recursive-include docs *.conf | ||
recursive-include docs *.dtd | ||
recursive-include src *.conf | ||
recursive-include src *.txt | ||
recursive-include src *.xml | ||
recursive-include src *.zip |
Oops, something went wrong.