Skip to content

Conversation

fchapoton
Copy link
Contributor

in order to avoid fixing them again at every release

📝 Checklist

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

@fchapoton
Copy link
Contributor Author

@tobiasdiez please review !

commands = pycodestyle --select E111,E115,E21,E221,E222,E225,E227,E228,E25,E271,E272,E275,E302,E303,E305,E306,E401,E502,E701,E702,E703,E71,E72,W291,W293,W391,W605 {posargs:{toxinidir}/sage/}
pycodestyle --select E111,E222,E271,E301,E302,E303,E305,E306,E401,E502,E703,E712,E713,E714,E72,W29,W391,W605, --filename *.pyx {posargs:{toxinidir}/sage/}
commands =
pycodestyle --select E111,E115,E21,E221,E222,E225,E227,E228,E25,E271,E272,E275,E302,E303,E305,E306,E401,E502,E701,E702,E703,E71,E72,W291,W293,W391,W605 {posargs:{toxinidir}/sage/}
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about completely removing everything related to pycodestyle from the code base? Or do you think its worth to maintain this still in parallel to ruff?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this also checks cython files, so let us keep that for the moment

Copy link
Contributor

Choose a reason for hiding this comment

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

Fair enough. For reference, cython support in ruff is astral-sh/ruff#10250.

vbraun pushed a commit to vbraun/sage that referenced this pull request May 24, 2025
sagemathgh-40122: reactive the code style checks using ruff
    
in order to avoid fixing them again at every release

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40122
Reported by: Frédéric Chapoton
Reviewer(s): Frédéric Chapoton, Tobias Diez
vbraun pushed a commit to vbraun/sage that referenced this pull request May 26, 2025
sagemathgh-40122: reactive the code style checks using ruff
    
in order to avoid fixing them again at every release

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40122
Reported by: Frédéric Chapoton
Reviewer(s): Frédéric Chapoton, Tobias Diez
vbraun pushed a commit to vbraun/sage that referenced this pull request May 28, 2025
sagemathgh-40122: reactive the code style checks using ruff
    
in order to avoid fixing them again at every release

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40122
Reported by: Frédéric Chapoton
Reviewer(s): Frédéric Chapoton, Tobias Diez
@vbraun vbraun merged commit 9a75586 into sagemath:develop Jun 1, 2025
16 of 25 checks passed
@fchapoton fchapoton deleted the reactivate_style_checks branch June 2, 2025 15:24
@fchapoton
Copy link
Contributor Author

Damn, this is not run by the linter ! Why is there another configuration for the linter ?

vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 6, 2025
follow up of sagemath#40122

about using ruff to check code formatting in the lint CI

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.

URL: sagemath#40208
Reported by: Frédéric Chapoton
Reviewer(s): Tobias Diez
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 8, 2025
sagemathgh-40208: add checks to the linter once again
    
follow up of sagemath#40122

about using ruff to check code formatting in the lint CI

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40208
Reported by: Frédéric Chapoton
Reviewer(s): Tobias Diez
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 9, 2025
sagemathgh-40208: add checks to the linter once again
    
follow up of sagemath#40122

about using ruff to check code formatting in the lint CI

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40208
Reported by: Frédéric Chapoton
Reviewer(s): Tobias Diez
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 9, 2025
sagemathgh-40208: add checks to the linter once again
    
follow up of sagemath#40122

about using ruff to check code formatting in the lint CI

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40208
Reported by: Frédéric Chapoton
Reviewer(s): Tobias Diez
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 9, 2025
sagemathgh-40208: add checks to the linter once again
    
follow up of sagemath#40122

about using ruff to check code formatting in the lint CI

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40208
Reported by: Frédéric Chapoton
Reviewer(s): Tobias Diez
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 13, 2025
sagemathgh-40208: add checks to the linter once again
    
follow up of sagemath#40122

about using ruff to check code formatting in the lint CI

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40208
Reported by: Frédéric Chapoton
Reviewer(s): Tobias Diez
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