Philipp Hörist pushed to branch master at gajim / gajim
Commits: c40ec07f by Philipp Hörist at 2023-01-29T15:57:38+01:00 ci: Update lint configs - - - - - e0b399f1 by Philipp Hörist at 2023-01-29T15:57:38+01:00 ci: Deploy windows nightly into correct folder - - - - - 3 changed files: - .gitlab-ci.yml - .pre-commit-config.yaml - pyproject.toml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -40,7 +40,7 @@ test-ruff: - changes: - "**/*.py" script: - - pip3 install ruff==0.0.211 + - pip3 install ruff==0.0.237 - ruff . interruptible: true @@ -231,7 +231,7 @@ deploy-windows-nightly: --host=$FTP_HOST \ --user=$FTP_USER \ --password=$FTP_PASS \ - --directory=downloads/snap \ + --directory=downloads/snap/win \ windows_build deploy-flatpak: ===================================== .pre-commit-config.yaml ===================================== @@ -1,6 +1,6 @@ repos: - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.211 + rev: v0.0.237 hooks: - id: ruff exclude: ".githooks/" @@ -15,7 +15,7 @@ repos: - tomli - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.287 + rev: v1.1.291 hooks: - id: pyright pass_filenames: false @@ -28,6 +28,6 @@ repos: stages: [manual] - repo: https://github.com/pycqa/isort - rev: 5.11.4 + rev: 5.12.0 hooks: - id: isort ===================================== pyproject.toml ===================================== @@ -190,14 +190,27 @@ ignore = [ "N806", # Variable should be lower case "N817", # CamelCase imported as acronym "N818", # Exception name should be named with an Error suffix + "PLR2004",# Magic value used in comparison, consider replacing x with a constant variable "RUF001", # AmbiguousUnicodeCharacterString "RUF002", # AmbiguousUnicodeCharacterDocstring "RUF003", # AmbiguousUnicodeCharacterComment + "RUF005", # Consider x instead of concatenation "RUF100", # Unused `noqa` directive "S101", # Use of `assert` detected + "S110", # `try`-`except`-`pass` detected, consider logging the exception + "S324", # Probable use of insecure hash functions "SIM102", # Use a single `if` statement instead of nested `if` statements "SIM105", # Use `contextlib.suppress(Exception)` instead of try-except-pass + "SIM108", # Use ternary operator + "SIM115", # Use context handler for opening files + "SIM201", # Use x instead of not x + "SIM212", # Use `value if value else ''` instead of `'' if not value else value` + "SIM300", # Yoda conditions are discouraged use x instead "UP007", # Use X | Y for type annotations + "UP030", # Use implicit references for positional format fields + "UP031", # Use format specifiers instead of percent format + "UP032", # Use f-string instead of `format` call + "UP034", # Avoid extraneous parentheses ] exclude = [ View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/eb5ce03b3512e8e8b412250128d3a9664dc4387d...e0b399f16179b502c2722152dd42ecf2be853775 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/eb5ce03b3512e8e8b412250128d3a9664dc4387d...e0b399f16179b502c2722152dd42ecf2be853775 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits