Skip to content

skpkg: Update project to latest scikit-package standards - #43

Merged
sbillinge merged 2 commits into
diffpy:mainfrom
danielsirakov:update-scikit-package
Sep 9, 2026
Merged

sbillinge merged 2 commits into
diffpy:mainfrom
danielsirakov:update-scikit-package

Conversation

@danielsirakov

Copy link
Copy Markdown
Contributor

I ran the package update command to update everything to the latest sci-kit standards.

@stevenhua0320 ready to review

@danielsirakov

Copy link
Copy Markdown
Contributor Author

@stevenhua0320 gentle ping : )

@stevenhua0320 stevenhua0320 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please see inline comments and make the edit, thanks!

Comment thread docs/source/conf.py

# General information about the project.
project = "diffpy.srxplanargui"
copyright = "%Y, The Trustees of Columbia University in the City of New York"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It should be the original license holders here.

@danielsirakov danielsirakov Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@stevenhua0320 This was also fixed in my push, not sure why it isnt autolabelled as outdated as well

Comment thread docs/source/index.rst Outdated
.. |title| replace:: diffpy.srxplanargui documentation

``diffpy.srxplanargui`` - xPDFsuite, a software for PDF transformation and visualization.
``diffpy.srxplanargui`` - GUI for diffpy.srxplanar

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Change it to GUI for diffpy.srxplanar; subpart for xPDFsuite, a software...

@danielsirakov danielsirakov Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@stevenhua0320 What should I put after the three dots, or should I leave it as that?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It is a software for PDF transformation and visualization

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Comment thread src/diffpy/srxplanargui/srxplanargui_app.py
Comment thread cookiecutter.json Outdated
"conda_pypi_package_dist_name": "diffpy.srxplanargui",
"package_dir_name": "diffpy.srxplanargui",
"project_short_description": "xPDFsuite, a software for PDF transformation and visualization.",
"project_short_description": "GUI for diffpy.srxplanar",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

And same here, please add it is a subpart of xpdfsuite.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@stevenhua0320 This line goes over 79 characters and since the file is a JSON I have no nice way to split it, should I work around the pre-commit somehow or is it okay if I leave this as the shorter version?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's keep it as a shorter version here for now, but have some xpdfsuite info as possible.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Comment thread pyproject.toml Outdated
@danielsirakov

Copy link
Copy Markdown
Contributor Author

@stevenhua0320 just pushed, let me know if everything looks fine now

@stevenhua0320 stevenhua0320 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me now, @sbillinge ready to review.

@sbillinge sbillinge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just one comment but it is an important one. If there is no gui code being tested, then please put a comment at that same place in the file so we don't revisit this question every time.

with:
project: diffpy.srxplanargui
c_extension: false
headless: false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please check. If this has any gui code being tested it should be headless true.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@sbillinge I just checked, no GUI code is being tested right now. I'll add a comment now and commit

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@sbillinge just pushed my comment

@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 50.00%. Comparing base (1286026) to head (6056366).

Files with missing lines Patch % Lines
tests/conftest.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage   50.00%   50.00%           
=======================================
  Files           2        2           
  Lines          18       18           
=======================================
  Hits            9        9           
  Misses          9        9           
Files with missing lines Coverage Δ
tests/conftest.py 35.71% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sbillinge
sbillinge merged commit 8abe11b into diffpy:main Sep 9, 2026
5 of 6 checks passed
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.

3 participants