“too-many-positional-arguments” on one machine, but does not know the error on the local machine

I am trying to set up a GitHub Actions workflow (definition below) checking for pylint requirements. I fixed this all on my local machine. Then I noticed getting a too-many-positional-arguments on the workflow. But my local machine doesn’t know that specific error.

Now I tried to fix this by using pylint: disable=too-many-positional-arguments. Resulting in the following pylint error.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>usc_sign_in_bot/db_helpers.py:345:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'too-many-positional-arguments' (unknown-option-value)
</code>
<code>usc_sign_in_bot/db_helpers.py:345:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'too-many-positional-arguments' (unknown-option-value) </code>
usc_sign_in_bot/db_helpers.py:345:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'too-many-positional-arguments' (unknown-option-value)

Also adding the R0917 error message to the .pylintrc (also defined below) disable menu, does not help as it just gets a local error about not knowing the message to disable.

Both github & local have pylint==3.3.1 installed.

I think it’s some kind of version mismatch but i am not sure how that would happen as the pylint versions are both the same and both use the same .pylintrc. Does anyone know where this mismatch comes from?

.github/workflows/pylint:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>name: pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
pip install pytest pylint==3.3.1
- name: Analysing the code with pylint
run: |
pylint usc_sign_in_bot/
pylint tests/
</code>
<code>name: pylint on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.10"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install -r requirements.txt pip install pytest pylint==3.3.1 - name: Analysing the code with pylint run: | pylint usc_sign_in_bot/ pylint tests/ </code>
name: pylint

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.10"]
    steps:
    - uses: actions/checkout@v4
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v3
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        python -m pip install -r requirements.txt
        pip install pytest pylint==3.3.1
    - name: Analysing the code with pylint
      run: |
        pylint usc_sign_in_bot/
        pylint tests/

.pylintrc:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>[MAIN]
# Specify a configuration file.
load-plugins=pylint.extensions.docstyle
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use.
jobs=0
# Specify a score threshold to be exceeded before program exits with error.
fail-under=10.0
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s).
disable=C0199,E0401,E0611
# Disable the score feature, we want it right
score=no
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=100
# Allow the body of an if to be on the same line as the test if there is no
# else.
single-line-if-stmt=no
[DESIGN]
# Maximum number of arguments for function / method.
max-args=10
[DOCSTRING]
# Require all classes and methods to have a docstring.
docstring-min-length=10
[CONVENTION]
# Ensure docstrings are present for all modules, classes, methods, and functions.
good-names=i,j,k,ex,Run,_
[REPORTS]
# Tweak the output format. You can have a full report with `yes`.
reports=no
[TYPECHECK]
generated-members=numpy.*,torch.*
[EXCEPTIONS]
# This option represents a list of qualified names for which no member or method should be checked.
ignored-classes=NotImplementedError
</code>
<code>[MAIN] # Specify a configuration file. load-plugins=pylint.extensions.docstyle # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the # number of processors available to use. jobs=0 # Specify a score threshold to be exceeded before program exits with error. fail-under=10.0 [MESSAGES CONTROL] # Disable the message, report, category or checker with the given id(s). disable=C0199,E0401,E0611 # Disable the score feature, we want it right score=no [FORMAT] # Maximum number of characters on a single line. max-line-length=100 # Allow the body of an if to be on the same line as the test if there is no # else. single-line-if-stmt=no [DESIGN] # Maximum number of arguments for function / method. max-args=10 [DOCSTRING] # Require all classes and methods to have a docstring. docstring-min-length=10 [CONVENTION] # Ensure docstrings are present for all modules, classes, methods, and functions. good-names=i,j,k,ex,Run,_ [REPORTS] # Tweak the output format. You can have a full report with `yes`. reports=no [TYPECHECK] generated-members=numpy.*,torch.* [EXCEPTIONS] # This option represents a list of qualified names for which no member or method should be checked. ignored-classes=NotImplementedError </code>
[MAIN]
# Specify a configuration file.
load-plugins=pylint.extensions.docstyle

# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use.
jobs=0

# Specify a score threshold to be exceeded before program exits with error.
fail-under=10.0

[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s).
disable=C0199,E0401,E0611

# Disable the score feature, we want it right
score=no

[FORMAT]

# Maximum number of characters on a single line.
max-line-length=100

# Allow the body of an if to be on the same line as the test if there is no
# else.
single-line-if-stmt=no

[DESIGN]

# Maximum number of arguments for function / method.
max-args=10

[DOCSTRING]
# Require all classes and methods to have a docstring.
docstring-min-length=10

[CONVENTION]
# Ensure docstrings are present for all modules, classes, methods, and functions.
good-names=i,j,k,ex,Run,_

[REPORTS]
# Tweak the output format. You can have a full report with `yes`.
reports=no

[TYPECHECK]
generated-members=numpy.*,torch.*

[EXCEPTIONS]
# This option represents a list of qualified names for which no member or method should be checked.
ignored-classes=NotImplementedError

2

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật