Skip to content

Commit 76e9434

Browse files
Merge branch 'OCA:main' into modoolar
2 parents bcf9542 + 6e857c5 commit 76e9434

File tree

9 files changed

+120
-104
lines changed

9 files changed

+120
-104
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 9.1.2
2+
current_version = 9.1.3
33
commit = True
44
tag = True
55
sign_tags = True

.github/workflows/test.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
24-
os: [ubuntu-latest, windows-latest, macos-latest]
24+
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
2525
tox_env: [py]
2626
include:
2727
- python: '3.12'
@@ -33,6 +33,16 @@ jobs:
3333
- python: '3.12'
3434
os: ubuntu-latest
3535
tox_env: 'build'
36+
exclude:
37+
# macos-14 AKA macos-latest has switched to being an ARM runner, only supporting newer versions of Python
38+
# https://github.com/actions/setup-python/issues/825#issuecomment-2096792396
39+
- python: '3.8'
40+
os: macos-latest
41+
- python: '3.9'
42+
os: macos-latest
43+
- python: '3.10'
44+
os: macos-latest
45+
3646
steps:
3747
- name: Set git to not change EoL
3848
if: runner.os == 'Windows'
@@ -43,7 +53,7 @@ jobs:
4353
uses: actions/cache@v4
4454
with:
4555
path: ${{ env.PRE_COMMIT_CACHE }}
46-
key: ${{ runner.os }}-py${{ matrix.python }}-pre-commit
56+
key: ${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python }}-pre-commit
4757
- uses: actions/[email protected]
4858
with:
4959
fetch-depth: 0

README.md

Lines changed: 97 additions & 97 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
[tool.black]
22
line-length=119
3+
4+
[build-system]
5+
requires = ["setuptools >=42"]
6+
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pylint-odoo
3-
version = 9.1.2
3+
version = 9.1.3
44
author = Odoo Community Association (OCA)
55
author_email = [email protected]
66
summary = Pylint plugin for Odoo

src/pylint_odoo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = "9.1.2"
1+
__version__ = "9.1.3"
22

33
from .plugin import register

src/pylint_odoo/checkers/odoo_addons.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@
228228
),
229229
"W8116": ("Print used. Use `logger` instead.", "print-used", CHECK_DESCRIPTION),
230230
"W8120": (
231-
"Translation method _(%s) is using positional string printf "
232-
'formatting. Use named placeholder `_("%%(placeholder)s")` instead.',
231+
"Translation method _(%s) is using positional string printf formatting with "
232+
'multiple arguments. Use named placeholder `_("%%(placeholder)s")` instead.',
233233
"translation-positional-used",
234234
CHECK_DESCRIPTION,
235235
),

src/pylint_odoo/misc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"15.0",
3333
"16.0",
3434
"17.0",
35+
"18.0",
3536
]
3637
DFTL_MANIFEST_VERSION_FORMAT = r"({valid_odoo_versions})\.\d+\.\d+\.\d+$"
3738

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ pre-commit
66
pytest
77
pytest-cov
88
pytest-xdist
9+
setuptools >=42
910
tox
1011
twine
1112
wheel

0 commit comments

Comments
 (0)