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
21 changes: 11 additions & 10 deletions .github/workflows/pcds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: "3.9"
deploy-on-success: true
- python-version: "3.10"
- python-version: "3.11"
experimental: true
- python-version: "3.9"
deploy-on-success: true
- python-version: "3.10"
- python-version: "3.11"
- python-version: "3.12"

name: "Conda"
uses: pcdshub/pcds-ci-helpers/.github/workflows/python-conda-test.yml@master
Expand All @@ -42,11 +42,12 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: "3.9"
deploy-on-success: true
- python-version: "3.10"
- python-version: "3.11"
experimental: true
- python-version: "3.9"
deploy-on-success: true
- python-version: "3.10"
- python-version: "3.11"
- python-version: "3.12"
- python-version: "3.13"

name: "Pip"
uses: pcdshub/pcds-ci-helpers/.github/workflows/python-pip-test.yml@master
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@ target/

#Ipython Notebook
.ipynb_checkpoints

# versioneer
qtpynodeeditor/_version.py
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exclude: |

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: no-commit-to-branch
- id: trailing-whitespace
Expand All @@ -23,11 +23,11 @@ repos:
- id: debug-statements

- repo: https://github.com/pycqa/flake8.git
rev: 6.0.0
rev: 7.1.1
hooks:
- id: flake8

- repo: https://github.com/timothycrosley/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
6 changes: 4 additions & 2 deletions qtpynodeeditor/node_graphics_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,10 @@ def embed_q_widget(self):

# If the widget wants to use as much vertical space as possible, set it
# to have the geomtry's equivalent_widget_height.
if (widget.sizePolicy().verticalPolicy() == QSizePolicy.MinimumExpanding or
widget.sizePolicy().verticalPolicy() == QSizePolicy.Expanding):
if (
widget.sizePolicy().verticalPolicy() == QSizePolicy.MinimumExpanding
or widget.sizePolicy().verticalPolicy() == QSizePolicy.Expanding
):
self._proxy_widget.setMinimumHeight(geom.equivalent_widget_height())

self._proxy_widget.setPos(geom.widget_position)
Expand Down