Skip to content

Update package name to match package name format that is required on PyPi; pre-commit bump (incl. docstring updates) #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 4, 2025
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
files: '.py'
exclude: '.git'
default_stages: [commit]
default_stages: [pre-commit]

repos:
- repo: https://github.com/psf/black
rev: 24.1.1
rev: 25.1.0
hooks:
- id: black

- repo: https://github.com/timothycrosley/isort
rev: 5.13.2
rev: 6.0.1
hooks:
- id: isort
args: ["--profile", "black"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down
2 changes: 1 addition & 1 deletion PyMPDATA_MPI/domain_decomposition.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" MPI-aware domain decomposition utilities """
"""MPI-aware domain decomposition utilities"""

import numpy as np
from PyMPDATA.impl.domain_decomposition import make_subdomain
Expand Down
2 changes: 1 addition & 1 deletion PyMPDATA_MPI/impl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" implementation details """
"""implementation details"""

from .mpi_boundary_condition import MPIBoundaryCondition
2 changes: 1 addition & 1 deletion PyMPDATA_MPI/impl/boundary_condition_commons.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pylint: disable=too-many-positional-arguments,too-many-arguments
""" boundary_condition common functions """
"""boundary_condition common functions"""

from functools import lru_cache

Expand Down
2 changes: 1 addition & 1 deletion PyMPDATA_MPI/impl/mpi_boundary_condition.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" common base class for MPI boundary conditions """
"""common base class for MPI boundary conditions"""

from PyMPDATA_MPI.impl.boundary_condition_commons import make_scalar_boundary_condition

Expand Down
2 changes: 1 addition & 1 deletion PyMPDATA_MPI/mpi_periodic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" periodic/cyclic boundary condition logic """
"""periodic/cyclic boundary condition logic"""

from functools import lru_cache

Expand Down
2 changes: 1 addition & 1 deletion PyMPDATA_MPI/mpi_polar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" polar boundary condition logic """
"""polar boundary condition logic"""

from functools import lru_cache

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requires = ['setuptools==69.1.0', 'setuptools-scm==7.1.0']
build-backend = "setuptools.build_meta"

[project]
name = "PyMPDATA-MPI"
name = "pympdata-mpi"
description = "PyMPDATA + numba-mpi coupler sandbox"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion scenarios/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" base imports for scenarios """
"""base imports for scenarios"""

from .cartesian import CartesianScenario
from .spherical import SphericalScenario
2 changes: 1 addition & 1 deletion scenarios/_scenario.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Provides base _Scenario base class that every scenario should inherit """
"""Provides base _Scenario base class that every scenario should inherit"""

from PyMPDATA import Solver
from PyMPDATA.impl.enumerations import INNER, OUTER
Expand Down
2 changes: 1 addition & 1 deletion scenarios/cartesian.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" 2D constant-advector carthesian example """
"""2D constant-advector carthesian example"""

import numba
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/local/contract_tests/test_single_vs_multi_node.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" test for asserting equivalence of results from single node environment and multi-node one """
"""test for asserting equivalence of results from single node environment and multi-node one"""

import os
import shutil
Expand Down
Loading