-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from ubermag/precommit_updates
Update pre-commits and pytest configuration
- Loading branch information
Showing
15 changed files
with
107 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .driver import Driver | ||
from .mindriver import MinDriver | ||
from .relaxdriver import RelaxDriver | ||
from .timedriver import TimeDriver | ||
from .driver import Driver as Driver | ||
from .mindriver import MinDriver as MinDriver | ||
from .relaxdriver import RelaxDriver as RelaxDriver | ||
from .timedriver import TimeDriver as TimeDriver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
from .mumax3 import ExeMumax3Runner, Mumax3Runner, Runner, overhead | ||
from .mumax3 import ExeMumax3Runner as ExeMumax3Runner | ||
from .mumax3 import Mumax3Runner as Mumax3Runner | ||
from .mumax3 import Runner as Runner | ||
from .mumax3 import overhead as overhead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
from .driver import driver_script | ||
from .energy import energy_script | ||
from .magnetisation import magnetisation_script | ||
from .mesh import mesh_script | ||
from .system import system_script | ||
from .util import mumax3_regions, set_parameter | ||
from .driver import driver_script as driver_script | ||
from .energy import energy_script as energy_script | ||
from .magnetisation import magnetisation_script as magnetisation_script | ||
from .mesh import mesh_script as mesh_script | ||
from .system import system_script as system_script | ||
from .util import mumax3_regions as mumax3_regions | ||
from .util import set_parameter as set_parameter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,2 @@ | ||
[flake8] | ||
exclude = | ||
.git, | ||
__pycache__, | ||
build, | ||
dev, | ||
dist, | ||
setup.py | ||
# black has a longer default line length | ||
max-line-length = 88 | ||
# D107: missing docstring in __init__ | ||
# E203: withespace before ':', required for black | ||
# RST210: Inline strong start-string without end-string. # complains about "**kwargs" in docstrings | ||
extend-ignore = D107,RST210,E203 | ||
per-file-ignores = | ||
# imported but unused | ||
__init__.py: F401 | ||
# ignore missing docstrings in tests | ||
test_*.py: D100,D101,D102,D103 | ||
docstring-convention: numpy | ||
# flake8-rst-docstrings: | ||
rst-roles = | ||
py:class, | ||
py:func, | ||
rst-directives = | ||
seealso, | ||
plot, | ||
|
||
[codespell] | ||
skip = .*,build/*,dev/*,dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Tasks to release the package.""" | ||
|
||
import os | ||
import shutil | ||
|
||
|