FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fine tuning the cython-linter + fix W391 code by fchapoton · Pull Request #206 · flintlib/python-flint · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .pxd  (1) .pyx  (10) .toml  (1) .yml  (1) All 4 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
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
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ build-backend = "mesonpy"

[tool.cython-lint]
max-line-length = 120
ignore = ['E114','E117','E127','E128','E129','E202','E221','E222','E231','E261','E262','E265','E302','E303','E306','E501','E701','E703','E711','E722','E731','E741','E743','W391']
ignore = ['E114','E117','E127','E128','E129','E202','E221','E222','E231','E261','E262','E265','E501','E711','E722','E731','E741','E743']
exclude = 'src/flint/flintlib/.*'

[tool.spin]
Expand Down
1 change: 0 additions & 1 deletion src/flint/types/acb.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ cdef any_as_acb_or_notimplemented(x):
# return acb(x)



# Copied with modifications from sage/rings/complex_arb.pyx
@cython.internal
cdef class IntegrationContext:
Expand Down
1 change: 0 additions & 1 deletion src/flint/types/acb_poly.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -424,4 +424,3 @@ cdef class acb_poly(flint_poly):
arf_set_mag(arb_midref((<arb>r).val), m)
mag_clear(m)
return r

1 change: 0 additions & 1 deletion src/flint/types/acb_series.pxd
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ cdef class acb_series(flint_series):
cdef long prec
cpdef long length(self)
cpdef valuation(self)

1 change: 0 additions & 1 deletion src/flint/types/acb_series.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -854,4 +854,3 @@ cdef class acb_series(flint_series):
acb_poly_lambertw_series((<acb_series>u).val, (<acb_series>s).val, (<fmpz>k).val, 0, cap, getprec())
(<acb_series>u).prec = cap
return u

1 change: 0 additions & 1 deletion src/flint/types/arb.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -2656,4 +2656,3 @@ cdef class arb(flint_scalar):
arb_hypgeom_coulomb(NULL, (<arb>G).val,
(<arb>l).val, (<arb>eta).val, (<arb>self).val, getprec())
return G

2 changes: 0 additions & 2 deletions src/flint/types/fmpq_mat.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -506,5 +506,3 @@ cdef class fmpq_mat(flint_mat):
if n % 2:
v *= self
return v


1 change: 0 additions & 1 deletion src/flint/types/fmpq_series.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -525,4 +525,3 @@ cdef class fmpq_series(flint_series):
fmpq_poly_tanh_series((<fmpq_series>u).val, (<fmpq_series>s).val, cap)
(<fmpq_series>u).prec = cap
return u

1 change: 0 additions & 1 deletion src/flint/types/fmpz.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -1021,4 +1021,3 @@ cdef class fmpz(flint_scalar):
if ttype == FMPZ_TMP:
fmpz_clear(tval)
return fmpz(v)

1 change: 0 additions & 1 deletion src/flint/types/fmpz_poly.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -647,4 +647,3 @@ cdef class fmpz_poly(flint_poly):
return int(i)
libc.stdlib.free(phi)
return 0

1 change: 0 additions & 1 deletion src/flint/types/fmpz_series.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,3 @@ cdef class fmpz_series(flint_series):
fmpz_poly_revert_series((<fmpz_series>u).val, (<fmpz_series>s).val, cap)
(<fmpz_series>u).prec = cap
return u

1 change: 0 additions & 1 deletion src/flint/types/nmod_series.pyx
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ from flint.flint_base.flint_base cimport flint_series

cdef class nmod_series(flint_series):
pass


Back | FazBrowse Home | New Git URL