Skip to content

Commit 59d57f3

Browse files
authored
Merge branch 'main' into example/busbar_joule_heating
2 parents 43dc1fe + a8a17e0 commit 59d57f3

File tree

17 files changed

+165
-69
lines changed

17 files changed

+165
-69
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
# These owners will be the default owners for everything in
55
# the repo. Unless a later match takes precedence,
66
# Owners will be requested for review when someone opens a PR.
7-
* @SMoraisAnsys @maxcapodi78 @Samuelopez-ansys @gmalinve @dcrawforAtAnsys
7+
* @SMoraisAnsys @maxcapodi78 @Samuelopez-ansys @gmalinve @Devin-Crawford
8+
9+
/examples/low_frequency/ @jvela018 @nunesanderson

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ exclude: |
33
doc/source/conf.py
44
)
55
6+
67
repos:
78

89
- repo: https://github.com/psf/black
910
rev: 22.3.0
1011
hooks:
1112
- id: black
13+
args: [--line-length=200]
1214

1315
- repo: https://github.com/adamchainz/blacken-docs
1416
rev: 1.16.0
@@ -20,6 +22,7 @@ repos:
2022
rev: 5.12.0
2123
hooks:
2224
- id: isort
25+
args: ["--profile", "black", "--filter-files"]
2326

2427
- repo: https://github.com/PyCQA/flake8
2528
rev: 5.0.4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The following guidelines help ensure that the examples are consistent, easy to r
4242
be rendered and run in [Jupyter Lab](https://docs.jupyter.org/en/latest/) as Notebook files. Jupyter can be used to ensure correct
4343
rendering of markdown, images, and equations.
4444
```
45-
pip install .[doc]
45+
pip install -r requirements/requirements_doc.txt
4646
jupyter lab
4747
```
4848
- You can use this [template](./examples/template.py) to help you start creating a new example

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ help:
2323
@echo "Removing vtk to avoid conflicts with vtk-osmesa needed for CI/CD"; \
2424
pip uninstall --yes vtk; \
2525
@echo "Installing vtk-osmesa"; \
26-
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.3.1; \
26+
pip install --index-url https://wheels.vtk.org vtk-osmesa==9.3.1; \
2727
fi
2828
@if [ "${ON_CI}" = "True" ] && [ "$$is_pypandoc_binary_installed" != "yes" ]; then \
2929
@echo "Removing pypandoc to avoid conflicts with pypandoc-binary needed for CI/CD"; \

doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if NOT "%is_vtk_osmesa_installed%" == "vtk-osmesa" if "%ON_CI%" == "true" (
2525
@ECHO ON
2626
echo "Installing vtk-osmesa"
2727
@ECHO OFF
28-
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.3.1)
28+
pip install --index-url https://wheels.vtk.org vtk-osmesa==9.3.1)
2929
for /f %%i in ('pip freeze ^| findstr /c:"pypandoc_binary"') do set is_pypandoc_binary_installed=%%i
3030
if NOT "%is_pypandoc_binary_installed%" == "pypandoc_binary" if "%ON_CI%" == "true" (
3131
@ECHO ON

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def convert_examples_into_notebooks(app):
284284
"template.py",
285285
"gui_manipulation.py",
286286
"electrothermal.py",
287-
# TODO: Remove the following example when 2025.1 is released, currently the latest version is 24.1.
287+
# GitHub CI/CD Pipeline fails to run lumped_element.py but it runs locally.
288288
"lumped_element.py",
289289
# TODO: Remove once EMIT examples are moved into extensions.
290290
"interference_type.py",
174 KB
Loading
41.1 KB
Loading
31.3 KB
Loading
43.2 KB
Loading

0 commit comments

Comments
 (0)