Skip to content

Commit

Permalink
- update package config
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Jun 24, 2021
1 parent 61bb9c8 commit 3f76549
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Expand Up @@ -28,7 +28,7 @@ max_line_length = off
# 4 space indentation
indent_size = 4

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

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Expand Up @@ -7,11 +7,17 @@ on:
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.8", "lint"]
Expand All @@ -23,7 +29,7 @@ jobs:
- ["3.9", "py39"]
- ["3.8", "coverage"]

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}-latest
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,6 +4,7 @@
*.profraw
*.pyc
*.pyo
*.so
.coverage
.coverage.*
.eggs/
Expand Down
6 changes: 3 additions & 3 deletions .meta.toml
Expand Up @@ -2,14 +2,13 @@
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "c9ccfc6dd58798357db94e3aaf213ee82a4e8400"
commit-id = "d1cc3112dca7b71f6fbd14b1319e2d39f72aeb1a"

[python]
with-appveyor = false
with-pypy = false
with-legacy-python = true
with-docs = false
with-sphinx-doctests = false
with-windows = false

[tox]
use-flake8 = true
Expand All @@ -22,4 +21,5 @@ additional-rules = [
"include buildout4.cfg",
"recursive-include src *.dtml",
"recursive-include src *.gif",
"recursive-include src *.zcml",
]
3 changes: 1 addition & 2 deletions MANIFEST.in
Expand Up @@ -6,8 +6,7 @@ include buildout.cfg
include tox.ini

recursive-include src *.py
recursive-include src *.txt
recursive-include src *.zcml
include buildout4.cfg
recursive-include src *.dtml
recursive-include src *.gif
recursive-include src *.zcml
5 changes: 2 additions & 3 deletions setup.cfg
Expand Up @@ -18,9 +18,8 @@ force_single_line = True
combine_as_imports = True
sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
known_third_party = six, docutils, pkg_resources
known_zope =
known_first_party =
known_local_folder =
known_zope =
known_first_party =
default_section = ZOPE
line_length = 79
lines_after_imports = 2
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -74,7 +74,7 @@ commands =
[coverage:run]
branch = True
plugins = coverage_python_version
source = src
source = Products.StandardCacheManagers

[coverage:report]
precision = 2
Expand Down

0 comments on commit 3f76549

Please sign in to comment.