Skip to content

Various fixes#508

Merged
j-adamczyk merged 14 commits intomasterfrom
various_fixes
Dec 27, 2025
Merged

Various fixes#508
j-adamczyk merged 14 commits intomasterfrom
various_fixes

Conversation

@j-adamczyk
Copy link
Member

@j-adamczyk j-adamczyk commented Dec 20, 2025

Changes

A lot of minor fixes, primarily docstrings or formatting.

Checklist before requesting a review

  • Docstrings added/updated in public functions and classes
  • Tests added, reasonable test coverage (at least ~90%, make test-coverage)
  • Sphinx docs added/updated and render properly (make docs and see docs/_build/index.html)

@j-adamczyk j-adamczyk marked this pull request as ready for review December 20, 2025 22:57
my-alaska
my-alaska previously approved these changes Dec 21, 2025
my-alaska
my-alaska previously approved these changes Dec 21, 2025
Copy link

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 contains various minor fixes primarily focused on docstrings, formatting, and code quality improvements across the scikit-fingerprints codebase.

Key Changes

  • Grammar and spelling corrections in docstrings (e.g., "In case of" → "In the case of")
  • Parameter documentation standardization (e.g., "optional" → "default=None", "boolean" → "bool")
  • Removal of # noqa: ARG002 comments, with ARG002 added to global ruff ignore list
  • Bug fixes in applicability domain modules (KNN neighbor exclusion logic)
  • Configuration updates: mypy settings moved to pyproject.toml, dependency version updates, GitHub Actions version bumps

Reviewed changes

Copilot reviewed 88 out of 89 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/descriptors/charge.py Added test for precomputed partial charges
tests/applicability_domain/utils.py Changed threshold calculation from median to 25th percentile
skfp/utils/validators.py Grammar fixes and error type corrections in docstrings
skfp/utils/parallel.py Fixed typo "functions" → "lists" in docstring
skfp/preprocessing/*.py Corrected shape documentation from "n_samples_conf_gen" to "n_samples"
skfp/metrics/*.py Standardized parameter names (y_pred → y_score) and type documentation
skfp/fingerprints/*.py Removed ARG002 noqa comments, fixed type hints
skfp/filters/*.py Improved return_type parameter documentation with bullet formatting
skfp/distances/*.py Standardized validation parameters and fixed grammar in docstrings
skfp/descriptors/*.py Changed "optional" to "default=None" in parameter docs
skfp/datasets/moleculeace/*.py Fixed import paths and adjusted doctest output formatting
skfp/applicability_domain/*.py Fixed KNN neighbor exclusion bug, removed ARG002 comments
ruff.toml Added ARG002 to global ignore list
pyproject.toml Updated RDKit version limit, moved mypy config, removed pip-audit/xenon
mypy.ini Deleted (moved to pyproject.toml)
.github/workflows/*.yml Bumped GitHub Actions versions (v4→v6, v5→v7)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MLCIL MLCIL deleted a comment from Copilot AI Dec 22, 2025
@MLCIL MLCIL deleted a comment from Copilot AI Dec 22, 2025
@MLCIL MLCIL deleted a comment from Copilot AI Dec 22, 2025
@j-adamczyk j-adamczyk merged commit d78e9d7 into master Dec 27, 2025
13 checks passed
@j-adamczyk j-adamczyk deleted the various_fixes branch December 27, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants