Skip to content

Commit 02a0d0f

Browse files
committed
lint fix
1 parent c065cc7 commit 02a0d0f

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/testing.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,17 @@ jobs:
8181
name: dash-packages
8282
path: packages/
8383

84+
- name: Download built component folders for linting
85+
uses: actions/download-artifact@v4
86+
with:
87+
name: dash-components
88+
path: .
89+
8490
- name: Install Dash packages
8591
run: |
8692
python -m pip install --upgrade pip wheel
8793
python -m pip install "setuptools<80.0.0"
88-
find packages -name dash-*.whl -print -exec sh -c 'pip install "{}[dev,ci]"' \;
94+
find packages -name dash-*.whl -print -exec sh -c 'pip install "{}[dev,ci,testing]"' \;
8995
9096
- name: Install dash-renderer dependencies
9197
working-directory: dash/dash-renderer
@@ -150,6 +156,16 @@ jobs:
150156
path: packages/ # Upload the contents of the dist directory
151157
retention-days: 1 # Keep artifact for 1 day (adjust as needed)
152158

159+
- name: Upload built component folders for linting
160+
uses: actions/upload-artifact@v4
161+
with:
162+
name: dash-components
163+
path: |
164+
dash/dcc/
165+
dash/html/
166+
dash/dash_table/
167+
retention-days: 1
168+
153169
test-typing:
154170
name: Typing Tests
155171
runs-on: ubuntu-latest

dash/testing/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def percy_snapshot(
204204
percy_snapshot(self.driver, name, **percy_options)
205205
else:
206206
logger.debug("Percy snapshots disabled - PERCY_TOKEN not set")
207-
except Exception as err:
207+
except Exception as err: # pylint: disable=broad-exception-caught
208208
logger.warning("Percy snapshot failed: %s", err)
209209

210210
if convert_canvases:

0 commit comments

Comments
 (0)