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
10 changes: 5 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89 # v4.1.0
with:
version: "0.9.6"
version: "0.16.0"
args: "check ."
- uses: astral-sh/ruff-action@v3
- uses: astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89 # v4.1.0
with:
version: "0.9.6"
version: "0.16.0"
args: "format --check ."
16 changes: 9 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
name: Build macOS App
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
version: "0.11.29"

- name: Install dependencies
run: uv sync
Expand All @@ -37,7 +39,7 @@ jobs:
zip -r ../clicky-macos-arm64.zip clicky.app

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: clicky-macos-arm64
path: clicky-macos-arm64.zip
Expand All @@ -48,10 +50,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Download all artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: artifacts
merge-multiple: true
Expand All @@ -63,7 +65,7 @@ jobs:
cat checksums.txt

- name: Create Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
with:
generate_release_notes: true
files: |
Expand Down Expand Up @@ -91,7 +93,7 @@ jobs:
echo "arm64=$(shasum -a 256 clicky-macos-arm64.zip | awk '{print $1}')" >> "$GITHUB_OUTPUT"

- name: Checkout Homebrew tap
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: SegwiseHQ/homebrew-tap
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
rev: cb8c523fd4835aba42af70f4cad5568db4df0b6c # frozen: v0.16.0
hooks:
- id: ruff
- id: ruff-check
args: [--fix]
- id: ruff-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down
26 changes: 17 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ readme = "README.md"
requires-python = ">=3.13"
license = "MIT"
dependencies = [
"clickhouse-connect>=0.8.18",
"cryptography>=45.0.5",
"dearpygui>=2.1.0",
"sqlparse>=0.5",
"pyinstaller>=6.14.2",
"clickhouse-connect>=1.6.0",
"cryptography>=49.0.0",
"dearpygui>=2.3.1",
"sqlparse>=0.5.5",
"pyinstaller>=6.21.0",
]

[project.urls]
Expand All @@ -20,15 +20,23 @@ Issues = "https://github.com/SegwiseHQ/clicky/issues"

[dependency-groups]
dev = [
"pytest>=8.4.1",
"ruff>=0.9.6",
"pre-commit>=4.1.0",
"pytest>=9.1.1",
"ruff>=0.16.0",
"pre-commit>=4.6.1",
]

[tool.ruff]
target-version = "py313"
line-length = 88
exclude = [".venv", "venv", "__pycache__", ".ruff_cache", "dist", "build"]
exclude = [
".venv",
"venv",
"__pycache__",
".ruff_cache",
"dist",
"build",
"*.md",
]

[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "SIM"]
Expand Down
Loading