Commit dea72514 authored by René Fritze's avatar René Fritze
Browse files

apply mega-linter fixes

parent 2ff1ddd3
Pipeline #187451 passed with stages
in 44 minutes and 4 seconds
......@@ -140,7 +140,7 @@ stages:
- devpi upload --from-dir --formats=* ./dist/*.whl
- python3 -m pip install pip~=22.0
- python3 -m pip uninstall -y pymor || true
# the docker service adressing fails on other runners
# the docker service addressing fails on other runners
tags: [mike]
.sanity_checks:
......
......@@ -151,7 +151,7 @@ rules:
- devpi upload --from-dir --formats=* ./dist/*.whl
- python3 -m pip install pip~=22.0
- python3 -m pip uninstall -y pymor || true
# the docker service adressing fails on other runners
# the docker service addressing fails on other runners
tags: [mike]
.sanity_checks:
......
......@@ -153,7 +153,7 @@
* BlockOperator and BlockDiagonalOperator
* Michael Schaefer, michael.schaefer@uni-muenster.de
* Robin bondary condition support for pymor.operators.cg
* Robin boundary condition support for pymor.operators.cg
### pyMOR 0.3
......
......@@ -124,7 +124,7 @@ pyMOR's main developers form a small
of developers which, apart from making contributions to pyMOR,
have the job of guiding and maintaining the future development of
pyMOR. They are the only persons with direct push acces to pyMOR's
main repository and have administrative priviliges over the
main repository and have administrative privileges over the
[pyMOR organization](https://github.com/pymor) on GitHub.
As pyMOR is an open project, everyone is invited to step up to
......@@ -136,7 +136,7 @@ in discussions on the mailing list and through GitHub. The applicant
should be able to commit to the project for a time period of at
least one year.
Main developers will be automatically retired (losing all priviliges)
Main developers will be automatically retired (losing all privileges)
if they have not shown any relevant activity over a period of one
year. Under special circumstances, the main developers
(excluding the developer in question) may decide by simple majority
......
......@@ -38,7 +38,7 @@ New system analysis and linear algebra algorithms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The new :meth:`~pymor.algorithms.eigs.eigs` method
`[#880] <https://github.com/pymor/pymor/pull/880>`_ computes
smallest/largest eigenvalues of an arbitary linear real |Operator|
smallest/largest eigenvalues of an arbitrary linear real |Operator|
using the implicitly restarted Arnoldi method :cite:`RL95`. It can also
be used to solve generalized eigenvalue problems.
......@@ -214,7 +214,7 @@ Further notable improvements
- `[#888] Implement FenicsVectorSpace.from_numpy <https://github.com/pymor/pymor/pull/888>`_
- `[#895] Implement VectorArray.__deepcopy__ via VectorArray.copy(deep=True) <https://github.com/pymor/pymor/pull/895>`_
- `[#905] Add from_files method to SecondOrderModel <https://github.com/pymor/pymor/pull/905>`_
- `[#919] [reductors.coercive] remove unneccessary initialization in SimpleCoerciveReductor <https://github.com/pymor/pymor/pull/919>`_
- `[#919] [reductors.coercive] remove unnecessary initialization in SimpleCoerciveReductor <https://github.com/pymor/pymor/pull/919>`_
- `[#926] [Operators] Speed up apply methods for LincombOperator <https://github.com/pymor/pymor/pull/926>`_
- `[#937] Move NumpyListVectorArrayMatrixOperator out of the playground <https://github.com/pymor/pymor/pull/937>`_
- `[#943] [logger] adds a ctx manager that restores effective level on exit <https://github.com/pymor/pymor/pull/943>`_
......@@ -143,7 +143,7 @@ with a few more advanced techniques added.
```
Again we define a `py:class\_` with appropiate name and docstring, but now we also indicate to pybind11
Again we define a `py:class\_` with appropriate name and docstring, but now we also indicate to pybind11
that this class will implement the [buffer protocol](<https://docs.python.org/3/c-api/buffer.html>), which basically
exposes direct access to the chunk of memory associated with a `Vector` instance to Python.
We also see how we can dispatch multiple init functions by using `py:init` objects with C++ lambda functions.
......@@ -223,7 +223,7 @@ our Python `model.Vector` and `model.DiffusionOperator` in pyMOR, we have to pro
{{ VectorArray }}, {{ VectorSpace }} and {{ Operator }} that wrap the classes defined in the extension module
and translate calls to the interface methods into operations on `model.Vector` and `model.DiffusionOperator`.
Instead of writing a full implementaion of a {{ VectorArray }} that manages multiple `model.Vector`
Instead of writing a full implementation of a {{ VectorArray }} that manages multiple `model.Vector`
instances, we can instead implement a wrapper `WrappedVector` for a single `model.Vector` instance based on
{class}`~pymor.vectorarrays.list.CopyOnWriteVector` which will be used to create
{{ ListVectorArrays }} via a {class}`~pymor.vectorarrays.list.ListVectorSpace`-based `WrappedVectorSpace`.
......
......@@ -281,7 +281,7 @@ def prepare_data(offline_time=False, enrichments=False):
def record_results(function, data, adaptive_enrichment=False, opt_dict=None, mu=None):
if adaptive_enrichment:
# this is for the adaptive case! rom is shiped via the opt_dict argument.
# this is for the adaptive case! rom is shipped via the opt_dict argument.
assert opt_dict is not None
QoI, data, rom = function(mu, data, opt_dict)
opt_dict['opt_rom'] = rom
......
......@@ -13,8 +13,8 @@ that you may use. Please use the logo as is and make no modifications. In partic
If you want to create a derived version of the logo for your own project, please ask us first.
<!-- markdownlint-disable MD033 -->
type | PNG | SVG
------|------|---------
type | PNG | SVG
------|-----------------------------------------------------|----------------------------------------------------
color | <img src="pymor_logo.png" width=320> | <img src="pymor_logo.svg" width=320>
black | <img src="pymor_logo_black.png" width=320> | <img src="pymor_logo_black.svg" width=320>
white | <img src="pymor_logo_white_black_bg.png" width=320> | <img src="pymor_logo_white_black_bg.png" width=320>
......@@ -95,7 +95,7 @@ def parse_expression(expression, parameters={}, values={}):
raise ValueError(f"""
While parsing expression
\t{expression}
with parameters {parameters} and values {values} the following error occured:
with parameters {parameters} and values {values} the following error occurred:
\t{e}
""") from e
......
......@@ -110,7 +110,7 @@ class QuadraticHamiltonianModel(BaseQuadraticHamiltonianModel):
H_op
The |Operator| H_op.
h
The state-independet part of the Hamiltonian h.
The state-independent part of the Hamiltonian h.
time_stepper
The :class:`time-stepper <pymor.algorithms.timestepping.TimeStepper>`
to be used by :meth:`~pymor.models.interface.Model.solve`.
......
......@@ -1025,7 +1025,7 @@ def train_neural_network(training_data, validation_data, neural_network,
(a dictionary of additional parameters for the learning rate
scheduler), `'es_scheduler_params'` (a dictionary of additional
parameters for the early stopping scheduler), and `'weight_decay'`
(non-negative real number that determines the strenght of the
(non-negative real number that determines the strength of the
l2-regularization; if not provided or 0., no regularization is applied).
scaling_parameters
Dict of tensors that determine how to scale inputs before passing them
......
......@@ -7,7 +7,7 @@ from enum import Enum
def Choices(choices):
"""Multipe-choice options for typer.
"""Multiple-choice options for typer.
This is a convenicence function that creates string Enums to be
used as the type of command-line arguments that can take a fixed set
......
......@@ -22,7 +22,7 @@ def main(
exp: float = Argument(..., help='Exponent'),
atol: float = Option(None, help='Absolute tolerance'),
continuous_time: bool = Option(False, help='Show continous time system eigenvalues.'),
continuous_time: bool = Option(False, help='Show continuous time system eigenvalues.'),
grid: int = Option(100, help='Use grid with this number of elements.'),
initial_data: Choices('sin bump') = Option('sin', help='Select the initial data.'),
modes: int = Option(None, help='Number of DMD modes'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment