Skip to content

adding typing annotations on many has_* methods #40123

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

Merged
merged 1 commit into from
Jun 1, 2025

Conversation

fchapoton
Copy link
Contributor

so that we know they return bool

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.

Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

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

LGTM.

vbraun pushed a commit to vbraun/sage that referenced this pull request May 24, 2025
sagemathgh-40123: adding typing annotations on many has_* methods
    
so that we know they return bool

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40123
Reported by: Frédéric Chapoton
Reviewer(s): Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request May 26, 2025
sagemathgh-40123: adding typing annotations on many has_* methods
    
so that we know they return bool

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40123
Reported by: Frédéric Chapoton
Reviewer(s): Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request May 28, 2025
sagemathgh-40123: adding typing annotations on many has_* methods
    
so that we know they return bool

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40123
Reported by: Frédéric Chapoton
Reviewer(s): Travis Scrimshaw
@vbraun vbraun merged commit 9e99cb2 into sagemath:develop Jun 1, 2025
14 of 22 checks passed
@fchapoton fchapoton deleted the typing_has_have branch June 2, 2025 15:22
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 13, 2025
sagemathgh-40196: further typing annotations for methods has_something
    
as a sequel of sagemath#40123

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40196
Reported by: Frédéric Chapoton
Reviewer(s): Frédéric Chapoton, Tobias Diez, Vincent Macri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants