Skip to content

Commit a4f65e4

Browse files
committed
update pylint config and revert package-test change
1 parent eb0d116 commit a4f65e4

3 files changed

Lines changed: 20 additions & 27 deletions

File tree

.github/workflows/package-tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
export PROJECT_VERSION="${{ github.event.inputs.project_version }}"
3838
echo "project_version: ${{ github.event.inputs.project_version }}"
3939
# To be able to test pipeline without triggering with project_version parameter using workflow_dispatch parameter,
40-
# if workflow_dispatch parameter is empty, 13.2.0 parameter is set to execute pipeline.
41-
[ -z ${PROJECT_VERSION} ] && export PROJECT_VERSION=13.2.0
40+
# if workflow_dispatch parameter is empty, 12.0.0 parameter is set to execute pipeline.
41+
[ -z ${PROJECT_VERSION} ] && export PROJECT_VERSION=12.0.0
4242
POSTGRES_VERSIONS=$(python -m packaging_automation.get_postgres_versions --project_version ${PROJECT_VERSION})
4343
echo "Postgres Version: ${POSTGRES_VERSIONS}"
4444
echo "::set-output name=pg_versions::${POSTGRES_VERSIONS}"
@@ -54,7 +54,6 @@ jobs:
5454
- ol/9
5555
- debian/bullseye
5656
- debian/bookworm
57-
- debian/trixie
5857
- ubuntu/focal
5958
- ubuntu/jammy
6059
pg: ${{ fromJson(needs.metadata.outputs.pg_versions) }}
@@ -75,7 +74,7 @@ jobs:
7574
run: |
7675
export PROJECT_VERSION="${{ github.event.inputs.project_version }}"
7776
echo "Citus Version: ${PROJECT_VERSION} "
78-
[ -z ${PROJECT_VERSION} ] && export PROJECT_VERSION=13.2.0
77+
[ -z ${PROJECT_VERSION} ] && export PROJECT_VERSION=12.0.0
7978
python -m packaging_automation.test_citus_package \
8079
--project_version "${PROJECT_VERSION}" \
8180
--os_release ${{ matrix.platform }} \

.prospector.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,22 @@ autodetect: true
99

1010
pylint:
1111
disable:
12+
- missing-module-docstring
13+
- missing-class-docstring
14+
- missing-function-docstring
15+
- invalid-name
16+
- too-few-public-methods
17+
- duplicate-code
18+
- wrong-import-order
19+
- too-many-instance-attributes
20+
- too-many-arguments
21+
- too-many-branches
22+
- too-many-locals
23+
- too-many-statements
24+
- line-too-long
25+
- redefined-outer-name
26+
- fixme
27+
- ungrouped-imports
1228
options:
29+
max-line-length: 160
1330
max-args: 6

.pylintrc

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

0 commit comments

Comments
 (0)