profile
viewpoint
Anthony Sottile asottile @pre-commit @pytest-dev @tox-dev

asottile/all-repos 177

Clone all your repositories and apply sweeping changes.

asottile/add-trailing-comma 151

A tool (and pre-commit hook) to automatically add trailing commas to calls and literals.

asottile/blacken-docs 138

Run `black` on python code blocks in documentation files

asottile/babi 99

a text editor

asottile/astpretty 82

Pretty print the output of python stdlib `ast.parse`.

asottile/azure-pipeline-templates 22

templates for azure pipelines

asottile/ancient-pythons 18

Attempts to build some really old pythons.

asottile/covdefaults 18

A coverage plugin to provide sensible default settings

asottile/cfgv 17

Validate configuration and produce human readable error messages

asottile/api-gateway-v2-to-wsgi 15

translation from the aws api gateway v2.0 lambda event to wsgi

startedasottile/add-trailing-comma

started time in 8 minutes

push eventdeadsnakes/python3.10-nightly

Wansoo Kim

commit sha 5b0194ed31376382da63ad5b10271a4acc4a80e8

bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396) This is my first issue! So, if there's anything wrong, please tell me! Also, thank you always for all the contributors! Automerge-Triggered-By: GH:asvetlov

view details

Zackery Spytz

commit sha 8085f742f4adfbc85f13fc734dfab036aa23acfb

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) Co-Authored-By: Tyler Bell <mrbell321@gmail.com>

view details

Zackery Spytz

commit sha d41ec65ab7411e877ca33d05e8c900feca530635

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)

view details

pxinwr

commit sha aa1b8a168d8b8dc1dfc426364b7b664501302958

bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256)

view details

Soumendra Ganguly

commit sha 74311aeb45b52cc145d27d9fca99f01874d6882d

bpo-41818: Fix test_master_read() so that it succeeds on all platforms that either raise OSError or return b"" upon reading from master (GH-23536) Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com>

view details

Andre Delfino

commit sha 4b44472966f17ad96d4370569ae049de9873e4af

Fix multiprocessing markup (GH-23525)

view details

Andre Delfino

commit sha fa840cc81d61b936ef95fdf7509a11b5927dc585

Fix dis markup (GH-23524)

view details

Zackery Spytz

commit sha 7a240aef1526e56943381dca3fbda139962500f2

Fix an error in the news entry for _posixsubprocess multiphase init (GH-23516) Commit 035deee265c7fb227ddc87222fa48761231d8bd7 converted the _posixsubprocess module to multiphase initialization, but the news entry mentions the _posixshmem module.

view details

pxinwr

commit sha 64c8f81047e393d3c54b15a6f9d800e9b26a816c

skip test_getaddrinfo_ipv6_scopeid_symbolic and test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518)

view details

pxinwr

commit sha 996a1ef8ae26869a5d0792e0bae615806f50594b

skip test_test of test_mailcap on VxWorks (GH-23507)

view details

pxinwr

commit sha a86a274b7224a5069f82c2d2cdd1f499d9c8dc22

bpo-31904: add shell requirement for test_pipes (GH-23489) VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.

view details

pxinwr

commit sha 6a273fdc2a36f52fb70359149eff014f1b6b08d4

bpo-31904: skip some tests related to fifo on VxWorks (GH-23473) On VxWork RTOS, FIFO must be created under directory "/fifos/". Some test cases related to fifo is invalid on VxWorks. So skip them.

view details

pxinwr

commit sha 00a6568ba37f0d815289776a51af46d0eac27384

bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394) Previously on VxWorks compiling socket extension module needs the libnet to link. Now VxWorks has moved the replied functions to libc. So removing libnet from setup.py.

view details

Anthony Sottile

commit sha d3f0b7ff635b5dcf470557e4b58869ed156e7f02

Merge remote-tracking branch 'origin/upstream' into ubuntu/bionic

view details

Anthony Sottile

commit sha c8a4ef1c79560f090bfc0fedad1348598aca4e9b

Refresh patches

view details

Anthony Sottile

commit sha b504214efb579ecebebe23116eec53669feeaf75

Finish changelog (2020-11-29)

view details

push time in 2 hours

push eventdeadsnakes/python3.10-nightly

Wansoo Kim

commit sha 5b0194ed31376382da63ad5b10271a4acc4a80e8

bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396) This is my first issue! So, if there's anything wrong, please tell me! Also, thank you always for all the contributors! Automerge-Triggered-By: GH:asvetlov

view details

Zackery Spytz

commit sha 8085f742f4adfbc85f13fc734dfab036aa23acfb

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) Co-Authored-By: Tyler Bell <mrbell321@gmail.com>

view details

Zackery Spytz

commit sha d41ec65ab7411e877ca33d05e8c900feca530635

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)

view details

pxinwr

commit sha aa1b8a168d8b8dc1dfc426364b7b664501302958

bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256)

view details

Soumendra Ganguly

commit sha 74311aeb45b52cc145d27d9fca99f01874d6882d

bpo-41818: Fix test_master_read() so that it succeeds on all platforms that either raise OSError or return b"" upon reading from master (GH-23536) Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com>

view details

Andre Delfino

commit sha 4b44472966f17ad96d4370569ae049de9873e4af

Fix multiprocessing markup (GH-23525)

view details

Andre Delfino

commit sha fa840cc81d61b936ef95fdf7509a11b5927dc585

Fix dis markup (GH-23524)

view details

Zackery Spytz

commit sha 7a240aef1526e56943381dca3fbda139962500f2

Fix an error in the news entry for _posixsubprocess multiphase init (GH-23516) Commit 035deee265c7fb227ddc87222fa48761231d8bd7 converted the _posixsubprocess module to multiphase initialization, but the news entry mentions the _posixshmem module.

view details

pxinwr

commit sha 64c8f81047e393d3c54b15a6f9d800e9b26a816c

skip test_getaddrinfo_ipv6_scopeid_symbolic and test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518)

view details

pxinwr

commit sha 996a1ef8ae26869a5d0792e0bae615806f50594b

skip test_test of test_mailcap on VxWorks (GH-23507)

view details

pxinwr

commit sha a86a274b7224a5069f82c2d2cdd1f499d9c8dc22

bpo-31904: add shell requirement for test_pipes (GH-23489) VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.

view details

pxinwr

commit sha 6a273fdc2a36f52fb70359149eff014f1b6b08d4

bpo-31904: skip some tests related to fifo on VxWorks (GH-23473) On VxWork RTOS, FIFO must be created under directory "/fifos/". Some test cases related to fifo is invalid on VxWorks. So skip them.

view details

pxinwr

commit sha 00a6568ba37f0d815289776a51af46d0eac27384

bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394) Previously on VxWorks compiling socket extension module needs the libnet to link. Now VxWorks has moved the replied functions to libc. So removing libnet from setup.py.

view details

Anthony Sottile

commit sha ccfc6093478e662842d78b49b0c679518767dfaf

Merge remote-tracking branch 'origin/upstream' into ubuntu/xenial

view details

Anthony Sottile

commit sha 6f3eb8f48aee06814da707d8b538431233c7d19e

Refresh patches

view details

Anthony Sottile

commit sha d756b71641b2183a0fc4c65600b0f1e70ce96e1b

Finish changelog (2020-11-29)

view details

push time in 2 hours

push eventdeadsnakes/python3.10-nightly

Wansoo Kim

commit sha 5b0194ed31376382da63ad5b10271a4acc4a80e8

bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396) This is my first issue! So, if there's anything wrong, please tell me! Also, thank you always for all the contributors! Automerge-Triggered-By: GH:asvetlov

view details

Zackery Spytz

commit sha 8085f742f4adfbc85f13fc734dfab036aa23acfb

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) Co-Authored-By: Tyler Bell <mrbell321@gmail.com>

view details

Zackery Spytz

commit sha d41ec65ab7411e877ca33d05e8c900feca530635

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)

view details

pxinwr

commit sha aa1b8a168d8b8dc1dfc426364b7b664501302958

bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256)

view details

Soumendra Ganguly

commit sha 74311aeb45b52cc145d27d9fca99f01874d6882d

bpo-41818: Fix test_master_read() so that it succeeds on all platforms that either raise OSError or return b"" upon reading from master (GH-23536) Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com>

view details

Andre Delfino

commit sha 4b44472966f17ad96d4370569ae049de9873e4af

Fix multiprocessing markup (GH-23525)

view details

Andre Delfino

commit sha fa840cc81d61b936ef95fdf7509a11b5927dc585

Fix dis markup (GH-23524)

view details

Zackery Spytz

commit sha 7a240aef1526e56943381dca3fbda139962500f2

Fix an error in the news entry for _posixsubprocess multiphase init (GH-23516) Commit 035deee265c7fb227ddc87222fa48761231d8bd7 converted the _posixsubprocess module to multiphase initialization, but the news entry mentions the _posixshmem module.

view details

pxinwr

commit sha 64c8f81047e393d3c54b15a6f9d800e9b26a816c

skip test_getaddrinfo_ipv6_scopeid_symbolic and test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518)

view details

pxinwr

commit sha 996a1ef8ae26869a5d0792e0bae615806f50594b

skip test_test of test_mailcap on VxWorks (GH-23507)

view details

pxinwr

commit sha a86a274b7224a5069f82c2d2cdd1f499d9c8dc22

bpo-31904: add shell requirement for test_pipes (GH-23489) VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.

view details

pxinwr

commit sha 6a273fdc2a36f52fb70359149eff014f1b6b08d4

bpo-31904: skip some tests related to fifo on VxWorks (GH-23473) On VxWork RTOS, FIFO must be created under directory "/fifos/". Some test cases related to fifo is invalid on VxWorks. So skip them.

view details

pxinwr

commit sha 00a6568ba37f0d815289776a51af46d0eac27384

bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394) Previously on VxWorks compiling socket extension module needs the libnet to link. Now VxWorks has moved the replied functions to libc. So removing libnet from setup.py.

view details

Anthony Sottile

commit sha c524bd99c55130b793002c03bf9c137926f5a679

Merge remote-tracking branch 'origin/upstream' into ubuntu/focal

view details

Anthony Sottile

commit sha 6d7fd005a76eb4b6f9daaa8d084ae0ec82e5e6ac

Refresh patches

view details

Anthony Sottile

commit sha 69b934162d1cfb010dee09d5c5c0536266596d5a

Finish changelog (2020-11-29)

view details

push time in 2 hours

push eventdeadsnakes/python3.8-nightly

Miss Islington (bot)

commit sha 4498e98a6bdf017d3b65fa679baf4c797909beb6

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (#23540) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> (cherry picked from commit 8085f742f4adfbc85f13fc734dfab036aa23acfb) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha e1c669b7ed18a81bfaa349726424ff5de9485f0a

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) (cherry picked from commit d41ec65ab7411e877ca33d05e8c900feca530635) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha 5be629d51355cde74f11cb309ee838de02d3807b

Fix multiprocessing markup (GH-23525) (cherry picked from commit 4b44472966f17ad96d4370569ae049de9873e4af) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Anthony Sottile

commit sha ec06339e31c95bc140cb386da0a521cf2a121108

Merge remote-tracking branch 'origin/upstream' into ubuntu/xenial

view details

Anthony Sottile

commit sha 2519fa39c4eea6c28821bbd16322c4f214bd615d

Finish changelog (2020-11-29)

view details

push time in 2 hours

push eventdeadsnakes/python3.9-nightly

Miss Islington (bot)

commit sha df6c8bcffef3380869c8f76317610ce452880b25

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (GH-23539) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> (cherry picked from commit 8085f742f4adfbc85f13fc734dfab036aa23acfb) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha cc5eb935c79bae13def91965e5fb7e8346d9dea1

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) (cherry picked from commit d41ec65ab7411e877ca33d05e8c900feca530635) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha 5d54dfadcf87998ae914ec64d7010ae7392924b2

Fix multiprocessing markup (GH-23525) (cherry picked from commit 4b44472966f17ad96d4370569ae049de9873e4af) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Miss Islington (bot)

commit sha cfb2f796342c224599eeab847e8593343a775408

Fix dis markup (GH-23524) (cherry picked from commit fa840cc81d61b936ef95fdf7509a11b5927dc585) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Anthony Sottile

commit sha 98af7da5f40ecc3757cfadfd3d2de8ebaf18d09c

Merge remote-tracking branch 'origin/upstream' into ubuntu/bionic

view details

Anthony Sottile

commit sha 02d9f83ee9e742fbe83986e323a900cc6953c0a2

Finish changelog (2020-11-29)

view details

push time in 2 hours

push eventdeadsnakes/python3.9-nightly

Miss Islington (bot)

commit sha df6c8bcffef3380869c8f76317610ce452880b25

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (GH-23539) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> (cherry picked from commit 8085f742f4adfbc85f13fc734dfab036aa23acfb) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha cc5eb935c79bae13def91965e5fb7e8346d9dea1

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) (cherry picked from commit d41ec65ab7411e877ca33d05e8c900feca530635) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha 5d54dfadcf87998ae914ec64d7010ae7392924b2

Fix multiprocessing markup (GH-23525) (cherry picked from commit 4b44472966f17ad96d4370569ae049de9873e4af) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Miss Islington (bot)

commit sha cfb2f796342c224599eeab847e8593343a775408

Fix dis markup (GH-23524) (cherry picked from commit fa840cc81d61b936ef95fdf7509a11b5927dc585) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Anthony Sottile

commit sha 907af5318c43fb62dd385ef64a19224d18edde12

Merge remote-tracking branch 'origin/upstream' into ubuntu/focal

view details

Anthony Sottile

commit sha dfa4a99adbab1318542a6bf8358c46d5510b9bca

Finish changelog (2020-11-29)

view details

push time in 2 hours

push eventdeadsnakes/python3.9-nightly

Miss Islington (bot)

commit sha df6c8bcffef3380869c8f76317610ce452880b25

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (GH-23539) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> (cherry picked from commit 8085f742f4adfbc85f13fc734dfab036aa23acfb) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha cc5eb935c79bae13def91965e5fb7e8346d9dea1

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) (cherry picked from commit d41ec65ab7411e877ca33d05e8c900feca530635) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha 5d54dfadcf87998ae914ec64d7010ae7392924b2

Fix multiprocessing markup (GH-23525) (cherry picked from commit 4b44472966f17ad96d4370569ae049de9873e4af) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Miss Islington (bot)

commit sha cfb2f796342c224599eeab847e8593343a775408

Fix dis markup (GH-23524) (cherry picked from commit fa840cc81d61b936ef95fdf7509a11b5927dc585) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Anthony Sottile

commit sha 84ceb5af013019835a5b0979ee6ec1991299fcc0

Merge remote-tracking branch 'origin/upstream' into ubuntu/xenial

view details

Anthony Sottile

commit sha 0b84bdd5d58a31d237649148a73b6e3dbd16e952

Finish changelog (2020-11-29)

view details

push time in 2 hours

push eventdeadsnakes/python3.8-nightly

Miss Islington (bot)

commit sha 4498e98a6bdf017d3b65fa679baf4c797909beb6

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (#23540) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> (cherry picked from commit 8085f742f4adfbc85f13fc734dfab036aa23acfb) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha e1c669b7ed18a81bfaa349726424ff5de9485f0a

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) (cherry picked from commit d41ec65ab7411e877ca33d05e8c900feca530635) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha 5be629d51355cde74f11cb309ee838de02d3807b

Fix multiprocessing markup (GH-23525) (cherry picked from commit 4b44472966f17ad96d4370569ae049de9873e4af) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Anthony Sottile

commit sha bd5715b8110417a2059c68f776d00d5ad86bac9a

Merge remote-tracking branch 'origin/upstream' into ubuntu/bionic

view details

Anthony Sottile

commit sha 7b0b9f63256e21812bced2005fa5dd2bee024e9d

Finish changelog (2020-11-29)

view details

push time in 2 hours

created tagdeadsnakes/python3.8-nightly

tagdeadsnakes/v3.8.6-140-g5be629d513

(experimental) nightly debian packaging of python3.8

created time in 2 hours

push eventdeadsnakes/python3.8-nightly

Miss Islington (bot)

commit sha 4498e98a6bdf017d3b65fa679baf4c797909beb6

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (#23540) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> (cherry picked from commit 8085f742f4adfbc85f13fc734dfab036aa23acfb) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha e1c669b7ed18a81bfaa349726424ff5de9485f0a

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) (cherry picked from commit d41ec65ab7411e877ca33d05e8c900feca530635) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha 5be629d51355cde74f11cb309ee838de02d3807b

Fix multiprocessing markup (GH-23525) (cherry picked from commit 4b44472966f17ad96d4370569ae049de9873e4af) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

push time in 2 hours

created tagdeadsnakes/python3.10-nightly

tagdeadsnakes/v3.10.0_a2-223-g00a6568ba3

(experimental) nightly debian packaging of python3.10

created time in 2 hours

push eventdeadsnakes/python3.10-nightly

Wansoo Kim

commit sha 5b0194ed31376382da63ad5b10271a4acc4a80e8

bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396) This is my first issue! So, if there's anything wrong, please tell me! Also, thank you always for all the contributors! Automerge-Triggered-By: GH:asvetlov

view details

Zackery Spytz

commit sha 8085f742f4adfbc85f13fc734dfab036aa23acfb

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) Co-Authored-By: Tyler Bell <mrbell321@gmail.com>

view details

Zackery Spytz

commit sha d41ec65ab7411e877ca33d05e8c900feca530635

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)

view details

pxinwr

commit sha aa1b8a168d8b8dc1dfc426364b7b664501302958

bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256)

view details

Soumendra Ganguly

commit sha 74311aeb45b52cc145d27d9fca99f01874d6882d

bpo-41818: Fix test_master_read() so that it succeeds on all platforms that either raise OSError or return b"" upon reading from master (GH-23536) Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com>

view details

Andre Delfino

commit sha 4b44472966f17ad96d4370569ae049de9873e4af

Fix multiprocessing markup (GH-23525)

view details

Andre Delfino

commit sha fa840cc81d61b936ef95fdf7509a11b5927dc585

Fix dis markup (GH-23524)

view details

Zackery Spytz

commit sha 7a240aef1526e56943381dca3fbda139962500f2

Fix an error in the news entry for _posixsubprocess multiphase init (GH-23516) Commit 035deee265c7fb227ddc87222fa48761231d8bd7 converted the _posixsubprocess module to multiphase initialization, but the news entry mentions the _posixshmem module.

view details

pxinwr

commit sha 64c8f81047e393d3c54b15a6f9d800e9b26a816c

skip test_getaddrinfo_ipv6_scopeid_symbolic and test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518)

view details

pxinwr

commit sha 996a1ef8ae26869a5d0792e0bae615806f50594b

skip test_test of test_mailcap on VxWorks (GH-23507)

view details

pxinwr

commit sha a86a274b7224a5069f82c2d2cdd1f499d9c8dc22

bpo-31904: add shell requirement for test_pipes (GH-23489) VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.

view details

pxinwr

commit sha 6a273fdc2a36f52fb70359149eff014f1b6b08d4

bpo-31904: skip some tests related to fifo on VxWorks (GH-23473) On VxWork RTOS, FIFO must be created under directory "/fifos/". Some test cases related to fifo is invalid on VxWorks. So skip them.

view details

pxinwr

commit sha 00a6568ba37f0d815289776a51af46d0eac27384

bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394) Previously on VxWorks compiling socket extension module needs the libnet to link. Now VxWorks has moved the replied functions to libc. So removing libnet from setup.py.

view details

push time in 2 hours

created tagdeadsnakes/python3.9-nightly

tagdeadsnakes/v3.9.1_rc1-10-gcfb2f79634

(experimental) nightly debian packaging of python3.9

created time in 2 hours

push eventdeadsnakes/python3.9-nightly

Miss Islington (bot)

commit sha df6c8bcffef3380869c8f76317610ce452880b25

bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (GH-23539) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> (cherry picked from commit 8085f742f4adfbc85f13fc734dfab036aa23acfb) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha cc5eb935c79bae13def91965e5fb7e8346d9dea1

bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) (cherry picked from commit d41ec65ab7411e877ca33d05e8c900feca530635) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

view details

Miss Islington (bot)

commit sha 5d54dfadcf87998ae914ec64d7010ae7392924b2

Fix multiprocessing markup (GH-23525) (cherry picked from commit 4b44472966f17ad96d4370569ae049de9873e4af) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

Miss Islington (bot)

commit sha cfb2f796342c224599eeab847e8593343a775408

Fix dis markup (GH-23524) (cherry picked from commit fa840cc81d61b936ef95fdf7509a11b5927dc585) Co-authored-by: Andre Delfino <adelfino@gmail.com>

view details

push time in 2 hours

startedasottile/babi

started time in 7 hours

pull request commentasottile/babi

add automatic tabsize detection

I had a bit of a look into vscode but did not actually find a complete answer. For me it looks like they guess the indentation from the file also without taking the language into account I found this test and the editor default settings as well as a class called DetectIndentation which I don't really understand...

Seems like this is a much more complex problem than I initially though. I might take a deeper look into this later and come up with a new approach, but since I am not familiar with this at all atm, it might take quite some time which I unfortunatelly don't have during my semester. So feel free to close this for now. Sorry for the noise, but I definitely got a better understanding what is actually needed now thank you! :)

theendlessriver13

comment created time in 7 hours

pull request commentasottile/babi

add automatic tabsize detection

yes I think your language specific approach is definitely the proper way to go and will be right in more cases. The only case where my solution would be helpful with added language support would be opening an existing file with an unknown language -- which is obviously a rare case and defaulting to 4 spaces would probably be right a similiar amount.

I don't think I am able to implement the language specific part though since it will include the proper grammar parsing and I have no idea about this. I wonder how vim, vscode and other IDEs/editos do this? I definitely had vscode choosing the wrong one for be before, but I haven't looked into the why and just switched manually..

theendlessriver13

comment created time in 9 hours

pull request commentasottile/babi

add automatic tabsize detection

this of course wouldn't handle people breaking convention (google using 2-space python for example) but would provide a decent baseline

you mean using hard tabs which are expected to expanded to length two?

later when configuration is implemented, an override per language could be done

year this would help -- maybe my proposed implementation might still be able to act as a fallback for unknown languages in this case?

this better solves the "I create an empty file" problem since auto-detection doesn't really work there

yes, I agree for an empty file it would still just use the current default of 4 spaces...

theendlessriver13

comment created time in 9 hours

PR opened asottile/babi

add automatic tabsize detection

Hi, I tried implementing an automatic tabsize detection when opening a file.

  • I added a few test cases for the tabsize detection
  • I had to modify the test_dedent_selection test, because the tab size was detected as 2 tabs. I think it actually wants to test that lines are properly dedented, even if the indentation is smaller than the currently set tab_size right? I think the test still does this now?

I am not sure if this detection will fit all different kinds of files or if the file type has to be taken into consideration...

+31 -3

0 comment

3 changed files

pr created time in 9 hours

startedsargun/sd-journald

started time in 10 hours

issue commentpre-commit/identify

Provide a way to retrieve tags structured by tag type

Thanks for explaining; I really appreciate it. I apologize for the verbosity (which I've edited to hopefully reduce), and for my rather misguided conflation of two separate proposals for related but distinct purposes: enumerating the tags by category in constants (straightforward in user code) and ordering all the tags (which is anything but).

For the latter, while I did try to minimize the code changes as much as practicable and enumerate what would specifically be required, its certainly far from trivial, and it seems like its out of scope for Identify. So, it looks like our options for that are either maintain a fork of Identify ourselves, or build a package using a bunch of heuristics and hard-coding to order the Identify output?

For the former, I tried to address your concerns with a much simpler and narrower alternative that didn't impose additional structure on the output or change the code itself, just added a few constants, and described some of the intended use cases beyond text/binary. However, while the constants would simplify Identify's code a bit (a few places already use them) and allow code to consume the output more easily, e.g. identify_output & identify.FORMAT_TAGS to get just the filetypes, as you say this part is not vital and not hard to work around if there's a reason not to add them. Is that the case?

CAM-Gerlach

comment created time in 10 hours

PR opened pre-commit/pre-commit.com

added init-templatedir example windows cmd/ps

added example which uses windows environment variables instead of the ~ (see https://github.com/pre-commit/pre-commit/issues/1720#issuecomment-735304274)

+6 -0

0 comment

1 changed file

pr created time in 11 hours

issue openedpre-commit/pre-commit

init-templatedir installing hooks to wrong directory

I was trying to use the init-templatedir functionality of pre-commit and ran into a weird problem:

Using Windows 10, pre-commit 2.9.2, git version 2.29.2.windows.1

I followed the example on the pre-commit.com website and used:

git config --global init.templateDir ~/.git-template
pre-commit init-templatedir ~/.git-template

grafik

It wants me to be in a git repository (I thought you prevented this with da80cc6479154c0a0a6096d183f9d1d72aae556b). So i switched to a git repository and rerun

pre-commit init-templatedir ~/.git-template

grafik

the hooks aren't installed in the stated directory. Based on the warnings it looks like pre-commit isn't resolving the ~ correctly, or did I miss sth.?

git config --get init.templateDir 

returns ~/.git-template

grafik

created time in 12 hours

fork theendlessriver13/babi

a text editor

fork in 13 hours

PR opened anthonywritescode/explains

Code examples for episode 027 & 028
+307 -0

0 comment

15 changed files

pr created time in 14 hours

push eventanthonywritescode/explains

Anthony Sottile

commit sha 8cc6735e63aeaa22c3e734cfad466ed4b7090f6d

update playlist

view details

push time in 15 hours

startedasottile/pyupgrade

started time in 15 hours

issue openedPyCQA/pyflakes

`typing.no_type_check` decorator is not being considered

pyflakes does not seem to take into consideration the typing.no_type_check decorator and throws F821 undefined name error, Example (from Uplink's documentation, a great library with a custom use case for type annotation):

from uplink import Consumer, get, Path, Query
from typing import no_type_check


class GitHub(Consumer):
    """A Python Client for the GitHub API."""
    @get("users/{user}/repos")
    @no_type_check
    def get_repos(self, user: Path, sort_by: Query("sort")):
        """Get user's public repositories."""

Results of running flake8:

➜ pyflakes flake8_poc.py
flake8_poc.py:9:52 undefined name 'sort'

This raises no error when running using mypy for example.

created time in 17 hours

issue commentpre-commit/identify

Provide a way to retrieve tags structured by tag type

I'm sorry; I'm rather confused by your reply. If there are reasons why you feel this is still out of scope for Identify, then I understand, and being one of the maintainers of a large community-developed open-source project (Spyder) myself, it is your decision to not accept a contribution you determine is not in the best interests of the codebase or its users.

However, I'm having trouble grasping why—after you took the time to respond in detail, raised some concerns and requested that I explain further, and I spent several hours carefully considering your detailed points, thinking through and explaining multiple use cases, examining the codebase and proposing an alternative aimed at addressing your points—the only reply would then be a curt two-word rejection, without any reason given. Was there something I unknowingly said or did that was not respectful, appropriate or constructive, despite my best intentions? If so, I apologize.

I would really appreciate if you could let me know what I did wrong, so I can avoid it happening again. I was hoping to make a number of future code contributions to pre-commit and identify, as well as potentially directing a portion of the Spyder organization's financial and developer resources toward supporting its development, considering its positive impact on our own open-source work. However, its hard to move forward with any of that without understanding what went wrong here, to ensure a more productive outcome in the future. Thanks.

CAM-Gerlach

comment created time in 18 hours

more