Skip to content

Prepare for v4.0.0 release#63

Merged
camUrban merged 3 commits intomainfrom
v4.0.0_release_prep
Nov 23, 2025
Merged

Prepare for v4.0.0 release#63
camUrban merged 3 commits intomainfrom
v4.0.0_release_prep

Conversation

@camUrban
Copy link
Owner

Work to prepare for releasing the latest version!

Changes

  • Bumped version numbers
  • Fixed typo in README.md
  • Fixed mypy errors that only appear with the --strict flag (we're continuing to run mypy without this flag for CI and development, but I figured it couldn't hurt)

Change Magnitude

Minor: Small change such as a bug fix, small enhancement, or documentation update.


Checklist

  • My branch is based on main and is up to date with the upstream main branch.
  • All calculations use S.I. units.
  • Code is formatted with black (line length = 88).
  • Code is well documented with block comments where appropriate.
  • Any external code, algorithms, or equations used have been cited in comments or docstrings.
  • All new modules, classes, functions, and methods have docstrings in reStructuredText format, and are formatted using docformatter (--in-place --black).
  • All new classes, functions, and methods use type hints.
  • If any major functionality was added or significantly changed, I have added or updated tests in the tests package.
  • Code locally passes all tests in the tests package.
  • After pushing, PR passes all automated checks (codespell, black, mypy, and tests).
  • PR description links all relevant issues and follows this template.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prepares the codebase for a v4.0.0 release by bumping version numbers, fixing a typo in the README, and resolving mypy strict mode type checking errors.

  • Version numbers updated from 3.2.0 to 4.0.0 across configuration files
  • Corrected typo in README.md ("airfoil" → "airfoils")
  • Added specific Callable type signatures and type ignore comments to satisfy mypy --strict mode

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
setup.cfg Updated package version to 4.0.0
make_installer.iss Updated installer version to 4.0.0
README.md Fixed grammar: "airfoil" to "airfoils"
pterasoftware/output.py Added type ignore comments for webp.Image.fromarray calls
pterasoftware/movements/wing_movement.py Added explicit Callable type signatures for spacing parameters
pterasoftware/movements/wing_cross_section_movement.py Added explicit Callable type signatures for spacing parameters
pterasoftware/movements/operating_point_movement.py Added numpy import and explicit Callable type signature
pterasoftware/movements/airplane_movement.py Added explicit Callable type signatures for spacing parameters
pterasoftware/movements/_functions.py Added explicit Callable type signature for custom_function parameter
pterasoftware/geometry/airplane.py Added type ignore comment for webp.Image.fromarray call
pterasoftware/_parameter_validation.py Updated return types with explicit Callable signatures and changed list to list[Any]
pterasoftware/_functions.py Added type ignore comments for @njit decorators
pterasoftware/_aerodynamics.py Added type ignore comments for @njit decorators

camUrban and others added 2 commits November 22, 2025 21:16
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@camUrban camUrban self-assigned this Nov 23, 2025
@camUrban camUrban added the maintenance Improvements or additions to documentation, testing, or robustness label Nov 23, 2025
@camUrban camUrban changed the title Prepared for v4.0.0 release Prepare for v4.0.0 release Nov 23, 2025
Repository owner deleted a comment from codecov bot Nov 23, 2025
@camUrban camUrban merged commit 908b33e into main Nov 23, 2025
10 of 11 checks passed
@camUrban camUrban deleted the v4.0.0_release_prep branch November 23, 2025 02:29
@camUrban camUrban restored the v4.0.0_release_prep branch November 23, 2025 02:29
@camUrban camUrban deleted the v4.0.0_release_prep branch November 23, 2025 02:29
Repository owner deleted a comment from codecov bot Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Improvements or additions to documentation, testing, or robustness

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant