Skip to content

Commit 57198f0

Browse files
authored
Merge pull request #407 from Metaswitch/renovate/pylint-4.x
Update dependency pylint to v4
2 parents 3e05ef9 + 1d94a31 commit 57198f0

20 files changed

+562
-529
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) Alianza, Inc. All rights reserved.
12
name: Deploy
23
on:
34
push:

.github/workflows/steps.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) Alianza, Inc. All rights reserved.
12
name: Announcer
23
'on':
34
push:
@@ -14,9 +15,9 @@ jobs:
1415
os:
1516
- ubuntu-latest
1617
python-version:
18+
- "3.12"
1719
- "3.11"
1820
- "3.10"
19-
- "3.9"
2021
steps:
2122
- name: 'Set up Python ${{ matrix.python-version }}'
2223
uses: actions/setup-python@v6

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM python:3.12-alpine3.17
1+
# Copyright (c) Alianza, Inc. All rights reserved.
2+
FROM python:3.13-alpine
23

34
ARG VERSION
45

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It is available as a Python package, or as a Docker container for use in CI.
1313

1414
## Installation
1515

16-
Install this tool using pip:
16+
Install this tool using pip (Python 3.10 or newer is required):
1717

1818
```
1919
pip install announcer

after_deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
# Copyright (c) Alianza, Inc. All rights reserved.
23

34
echo "Announce changes to the world!"
45

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
# Copyright (c) Alianza, Inc. All rights reserved.
23

34
VERSION=$(tomlq -r '.project.version' pyproject.toml)
45
echo "Version: $VERSION"

floki.3.10.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) Alianza, Inc. All rights reserved.
2+
image: python:3.10
3+
shell: bash
4+
init:
5+
- bash install.sh

floki.3.9.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# Copyright (c) Alianza, Inc. All rights reserved.
23

34
set -ex
45

pyproject.toml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
# Copyright (c) Alianza, Inc. All rights reserved.
12
[project]
23
name = "announcer"
34
version = "6.0.1"
45
description = "Announce changes in keepachangelog-style CHANGELOG.md files to Slack and Microsoft Teams"
5-
authors = [{ name = "Max Dymond", email = "max.dymond@metaswitch.com" }]
6-
requires-python = ">=3.9,<4.0.0"
6+
authors = [{ name = "Max Dymond", email = "max.dymond@alianza.com" }]
7+
requires-python = ">=3.10,<4.0.0"
78
readme = "README.md"
89
license = {file = "LICENSE.md"}
910
keywords = [
@@ -20,7 +21,7 @@ announce = "announcer.__init__:main"
2021

2122
[dependency-groups]
2223
dev = [
23-
"pylint==3.3.8",
24+
"pylint==4.0.2",
2425
"wheel==0.45.1",
2526
"mypy==1.17.1",
2627
"yamllint==1.37.1",
@@ -34,3 +35,11 @@ dev = [
3435
"types-requests>=2.32.0,<3",
3536
"isort==6.0.1",
3637
]
38+
39+
[build-system]
40+
requires = ["uv_build>=0.9.5,<0.10.0"]
41+
build-backend = "uv_build"
42+
43+
[[tool.uv.index]]
44+
name = "pypi"
45+
url = "https://pypi.org/simple"

0 commit comments

Comments
 (0)