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/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
os: ['macos-latest', 'windows-latest', 'ubuntu-slim']
version: ['3.9', '3.10', '3.11', '3.12', '3.13']
version: ['3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion misc/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ setuptools-scm
requests < 3.0
PySide6-Essentials >= 6.8.1
QtAwesome
legendary-gl @ https://github.com/RareDevs/legendary/archive/5b3453c.zip
legendary-gl @ https://github.com/RareDevs/legendary/archive/rare-next.zip
orjson
vdf @ https://github.com/solsticegamestudios/vdf/archive/be1f7220238022f8b29fe747f0b643f280bfdb6e.zip
pywin32 ; platform_system == "Windows"
Expand Down
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ persistent=yes

# Minimum Python version to use for version dependent checks. Will default to
# the version used to run pylint.
py-version=3.9
py-version=3.10

# Discover python modules and packages in the file system subtree.
recursive=yes
Expand Down
15 changes: 11 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies = [
"requests < 3.0",
"PySide6-Essentials >= 6.8.1",
"QtAwesome",
"legendary-gl @ git+https://github.com/RareDevs/legendary@5b3453c",
"legendary-gl @ git+https://github.com/RareDevs/legendary@rare-next",
"orjson",
"vdf @ https://github.com/solsticegamestudios/vdf/archive/be1f7220238022f8b29fe747f0b643f280bfdb6e.zip",
"pywin32 ; platform_system == 'Windows'",
Expand Down Expand Up @@ -134,15 +134,22 @@ force-exclude = '''

[tool.ruff]
include = ["pyproject.toml", "rare/*.py"]
exclude = ["rare/ui", "rare/lgndr"]
exclude = [
"rare/ui",
"rare/lgndr",
"rare/resources/static_css/__init__.py",
"rare/resources/stylesheets/*/__init__.py"
]

line-length = 130
indent-width = 4

[tool.ruff.lint]
extend-select = ["I"]
extend-select = ["E", "F", "UP", "B", "SIM", "I"]
extend-ignore = [ "UP008", "SIM102", "SIM108" ]

[tool.ruff.format]
quote-style = "double"
quote-style = "single"
indent-style = "space"

[tool.poetry]
Expand Down
6 changes: 3 additions & 3 deletions rare/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from rare._version import __version__, __version_tuple__

__codename__ = "Cobia Cormorant"
__codename__ = 'Cobia Cormorant'

# For PyCharm profiler
if __name__ == "__main__":
if __name__ == '__main__':
import sys

from rare.main import main

sys.exit(main())

__all__ = ["__version__", "__version_tuple__", "__codename__"]
__all__ = ['__version__', '__version_tuple__', '__codename__']
2 changes: 1 addition & 1 deletion rare/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if __name__ == "__main__":
if __name__ == '__main__':
import sys

from rare.main import main
Expand Down
Loading
Loading