Skip to content

Formatting #123

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Formatting #123

wants to merge 4 commits into from

Conversation

cmbant
Copy link
Owner

@cmbant cmbant commented May 27, 2025

update to py3.10 notation, min version, ruff formatting and github webkook

@cmbant cmbant requested a review from Copilot May 27, 2025 21:28
Copy link

@Copilot 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 pull request updates GetDist to adopt Python 3.10 conventions and enforces uniform formatting (using double quotes) as well as Ruff formatting. Key changes include:

  • Replacing single‐quoted strings with double‐quoted strings throughout the code.
  • Updating the minimum required Python version to 3.10.
  • Minor adjustments to logging, subprocess commands, and GitHub webhook configuration.

Reviewed Changes

Copilot reviewed 50 out of 50 changed files in this pull request and generated no comments.

Show a summary per file
File Description
getdist/covmat.py Updated string quoting and formatting
getdist/covcomb.py Consistent use of double quotes
getdist/convolve.py Uniform quote style and minor formatting
getdist/command_line.py Updated quotes, improved argument handling
getdist/cobaya_interface.py Consistent quoting and import ordering
getdist/chains.py Formatting updates, updated regex patterns
getdist/chain_grid.py Uniform quoting and minor reformatting
getdist/_base.py Format fixes with improved logging strings
getdist/init.py Consistent string quoting and configuration
docs/source/conf.py Updated quotes and reformatting for Sphinx docs
docs/plot_gallery.ipynb Adjusted notebook code formatting
docs/markdown_builder.py Formatting updates and consistent quoting
README.rst Updated Python version and contributor info
CONTRIBUTING.md Added contributing guidelines and formatting
.vscode/tasks.json New tasks configuration for tests and Streamlit
.vscode/settings.json Adjusted code analysis and formatting settings
.vscode/launch.json Added/debug configurations for testing
.pre-commit-config.yaml New pre-commit hooks for Ruff formatting
.github/workflows/tests.yml Updated CI to use Python 3.10 on OS X
.flake8 Removed flake8 config in favor of Ruff formatting

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.

1 participant