-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename and integrate into meta/config. (#44)
* Rename and integrate into meta/config. * Restrict to pytest 7 to get it working for now. * Add support for Python 3.12 (#46) Co-authored-by: Wolfgang Schnerring <wolfgang.schnerring@zeit.de>
- Loading branch information
Showing
95 changed files
with
591 additions
and
308 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
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,28 +1,32 @@ | ||
syntax: glob | ||
|
||
*.egg-info | ||
# Generated from: | ||
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
*.dll | ||
*.egg-info/ | ||
*.profraw | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.cache | ||
*.pyo | ||
*.so | ||
.coverage | ||
.coverage.* | ||
.eggs/ | ||
.installed.cfg | ||
.mr.developer.cfg | ||
.pytest_cache/ | ||
.tox/ | ||
__pycache__ | ||
bin | ||
build | ||
coverage-report | ||
.vscode/ | ||
__pycache__/ | ||
bin/ | ||
build/ | ||
coverage.xml | ||
develop-eggs | ||
dist | ||
doc/_api | ||
eggs | ||
include | ||
junit-*.xml | ||
lib | ||
local | ||
local.cfg | ||
parts | ||
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,44 @@ | ||
# Generated from: | ||
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
[meta] | ||
template = "pure-python" | ||
commit-id = "7713fd86" | ||
|
||
[python] | ||
with-sphinx-doctests = false | ||
with-docs = true | ||
with-future-python = false | ||
with-pypy = true | ||
with-macos = false | ||
with-windows = false | ||
|
||
[tox] | ||
use-flake8 = true | ||
testenv-commands = [ | ||
"pytest []" | ||
] | ||
testenv-deps = [ | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-remove-stale-bytecode", | ||
] | ||
coverage-command = [ | ||
"pytest --cov=src --cov-report=html []", | ||
] | ||
|
||
[coverage] | ||
fail-under = 98 | ||
|
||
[flake8] | ||
additional-config = [ | ||
"# E501 line too long", | ||
"per-file-ignores =", | ||
" src/zope/pytestlayer/tests/test_integration.py: E501", | ||
] | ||
|
||
[manifest] | ||
additional-rules = [ | ||
"include *.yaml", | ||
"include pytest.ini", | ||
"recursive-include src *.txt", | ||
] |
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,25 @@ | ||
# Generated from: | ||
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# We recommend specifying your dependencies to enable reproducible builds: | ||
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | ||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
- method: pip | ||
path: . |
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
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,19 +1,19 @@ | ||
============================= | ||
Developing gocept.pytestlayer | ||
============================= | ||
=========================== | ||
Developing zope.pytestlayer | ||
=========================== | ||
|
||
:Author: | ||
`gocept <http://gocept.com/>`_ <mail@gocept.com>, | ||
gocept, | ||
Godefroid Chapelle <gotcha@bubblenet.be> | ||
|
||
:PyPI page: | ||
http://pypi.python.org/pypi/gocept.pytestlayer/ | ||
https://pypi.org/project/zope.pytestlayer/ | ||
|
||
:Issues: | ||
https://github.com/gocept/gocept.pytestlayer/issues | ||
https://github.com/gocept/zope.pytestlayer/issues | ||
|
||
:Source code: | ||
https://github.com/gocept/gocept.pytestlayer | ||
https://github.com/zope/zope.pytestlayer | ||
|
||
:Current change log: | ||
https://raw.githubusercontent.com/gocept/gocept.pytestlayer/master/CHANGES.rst | ||
https://raw.githubusercontent.com/zope/zope.pytestlayer/master/CHANGES.rst |
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,12 +1,17 @@ | ||
# Generated from: | ||
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | ||
include *.md | ||
include *.rst | ||
include *.txt | ||
include .coveragerc | ||
include buildout.cfg | ||
include pytest.ini | ||
include tox.ini | ||
include *.yaml | ||
|
||
recursive-include doc *.py | ||
recursive-include doc *.rst | ||
recursive-include docs *.py | ||
recursive-include docs *.rst | ||
recursive-include docs *.txt | ||
recursive-include docs Makefile | ||
|
||
recursive-include src *.py | ||
include *.yaml | ||
include pytest.ini | ||
recursive-include src *.txt |
Oops, something went wrong.