Repository navigation
ci: test on Python 3.14, lint with ruff; fix CITATION.cff - #83
Merged
Merged
Conversation
CI: - Add Python 3.14 to the test matrix (and its classifier) - Add a lint job with ruff (pinned to 0.16.9); the rules are set in pyproject.toml to errors only (E4, E7, E9, F), so new ruff versions do not change the result - Fix the three findings: replace a lambda with a def in a test, mark the intentional `== True` in Processing with noqa and a comment, and use the unused __version__ import in a new test that checks it matches the version in pyproject.toml CITATION.cff: - Make it valid for CFF 1.2.0 (the unknown "languages" key and the duplicate "repository" key are removed; license as SPDX "MIT"; ORCIDs as URLs) - Update version to 0.5.1 and add date-released - Update the e-mail address to match pyproject.toml - Add the documentation URL and the DOI to the preferred citation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCvw8haRnmyrVKrLkz5Yf8
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI
pyproject.toml. The locked dependencies already support it (pandas 2.3.3, numpy 2.4/2.5); the full suite passes locally on 3.14.6.lintjob with ruff (astral-sh/ruff-action@v3, ruff pinned to 0.16.9). It runs once, not per OS/Python version.pyproject.tomlto errors only (E4,E7,E9,F: syntax errors, undefined names, unused imports, ...), no style rules. Newer ruff versions have a wider default rule set, so listing them keeps the CI result stable.lambdaassigned to a name intests/test_explore.py→def;config['timestamp'] == TrueinProcessingis intentional (a truth check would enable timestamps for e.g. the string'false'), so it gets# noqa: E712and a comment;from succulent import __version__intests/test_succulent.pyis now used by a new test that checks it matches the version inpyproject.toml(both are bumped by hand).CITATION.cff
The file was not valid CFF 1.2.0 (checked with
cffconvert --validate):languageskey and the extrarepositorykey (repository-codeis kept);license: MIT(SPDX identifier) instead ofMIT License;Also updated:
0.4.0→0.5.1, withdate-released: 2026-11-09(date of the 0.5.1 tag);pyproject.toml;preferred-citation.cffconvert --validatenow reports: Citation metadata are valid according to schema version 1.2.0.Tests
Full suite: 83 passed (Python 3.13 and 3.14 locally).
ruff checkpasses.Generated by Claude Code