Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
pacman --noconfirm -Syyu
pacman --noconfirm -Sy python-pip python-pyparted pkgconfig gcc
- run: pip install --break-system-packages --upgrade pip
- name: Install Pylint and Pylint plug-ins
- name: Install Pylint
run: pip install --break-system-packages .[dev]
- run: python --version
- run: pylint --version
Expand Down
1 change: 0 additions & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ makedepends=(
'python-wheel'
'python-sphinx_rtd_theme'
'python-pylint'
'python-pylint-pydantic'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Torxed - The PKGBUILD file in https://gitlab.archlinux.org/archlinux/packaging/packages/archinstall might need to be updated too

'ruff'
)
optdepends=(
Expand Down
2 changes: 2 additions & 0 deletions archinstall/lib/models/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def strength(cls, password: str) -> 'PasswordStrength':
symbol = any(not character.isalnum() for character in password)
return cls._check_password_strength(digit, upper, lower, symbol, len(password))

# TODO: Remove the disable line when https://github.com/pylint-dev/pylint/issues/10647 is fixed
# pylint: disable=bare-name-capture-pattern
@classmethod
def _check_password_strength(
cls,
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ dev = [
"flake8==7.3.0",
"pre-commit==4.3.0",
"ruff==0.14.0",
"pylint==3.3.9",
"pylint-pydantic==0.3.5",
"pylint==4.0.0",
"pytest==8.4.2",
]
doc = ["sphinx"]
Expand Down Expand Up @@ -137,7 +136,6 @@ ignore-paths = [
"^build/",
"^docs/",
]
load-plugins = ["pylint_pydantic"]
persistent = false
py-version = "3.12"
recursive = true
Expand Down