From f19892f01183d41248b28edeae6b2a70b22a35e3 Mon Sep 17 00:00:00 2001 From: 1letter <1letter@gmx.de> Date: Wed, 16 Oct 2024 13:57:18 +0200 Subject: [PATCH] update config with plone/meta --- .gitignore | 2 -- .meta.toml | 3 +-- .pre-commit-config.yaml | 10 +++++----- pyproject.toml | 3 ++- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index b231e87..67c7616 100644 --- a/.gitignore +++ b/.gitignore @@ -36,7 +36,6 @@ parts/ pyvenv.cfg var/ local.cfg -.python-version # mxdev /instance/ @@ -47,7 +46,6 @@ local.cfg /venv/ .installed.txt -robot_* test_* forest.* diff --git a/.meta.toml b/.meta.toml index 1414a7f..586b902 100644 --- a/.meta.toml +++ b/.meta.toml @@ -3,7 +3,7 @@ # See the inline comments on how to expand/tweak this configuration file [meta] template = "default" -commit-id = "721299ce" +commit-id = "5d22fbf8" [pyproject] codespell_skip = "*.js,*.min.js,*.min.js.map,*.min.css.map,*.svg,*.lock,*.json" @@ -17,7 +17,6 @@ jobs = [ [gitignore] extra_lines = """ -robot_* test_* forest.* """ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d60054b..1460326 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] @@ -16,7 +16,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.8.0 hooks: - id: black - repo: https://github.com/collective/zpretty @@ -32,7 +32,7 @@ repos: # """ ## - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 @@ -44,7 +44,7 @@ repos: # """ ## - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell additional_dependencies: @@ -71,7 +71,7 @@ repos: - id: check-python-versions args: ['--only', 'setup.py,pyproject.toml'] - repo: https://github.com/collective/i18ndude - rev: "6.2.0" + rev: "6.2.1" hooks: - id: i18ndude diff --git a/pyproject.toml b/pyproject.toml index 59cb531..9947b68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ target-version = ["py38"] ## [tool.codespell] -ignore-words-list = "discreet," +ignore-words-list = "discreet,assertin," skip = "*.po,*.js,*.min.js,*.min.js.map,*.min.css.map,*.svg,*.lock,*.json" ## # Add extra configuration options in .meta.toml: @@ -83,6 +83,7 @@ Zope = [ 'Products.CMFCore', 'Products.CMFDynamicViewFTI', ] python-dateutil = ['dateutil'] +pytest-plone = ['pytest', 'zope.pytestlayer', 'plone.testing', 'plone.app.testing'] ## # Add extra configuration options in .meta.toml: