Highlights
- 1 discussion answered
Block or Report
Block or report AlexWaygood
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePopular repositories
-
Covid-excess-death Public
Script to auto-generate excess mortality graphs based on the FT's data in their repository.
Python 1
-
inherited_multiple_dispatch Public
Implementation of multiple-dispatch in python that works with class inheritance. Lots of metaclass magic.
Python 1
-
-
LondonSchools Public
Code used for cleaning and analysing data obtained for my journalism masters
Python
-
897 contributions in the last year
Activity overview
Contribution activity
January 2022
Created 92 commits in 4 repositories
Created 3 repositories
- AlexWaygood/decorator Python
- AlexWaygood/mypy-604-repro Python
- AlexWaygood/flake8-pyi Python
Created a pull request in python/typeshed that received 40 comments
Improve sys stubs
There are quite a few errors in the stubs for the sys module. Most of these appear to have slipped through the net due to the fact that stubtest is…
Opened 84 other pull requests in 3 repositories
python/typeshed
4
open
35
merged
5
closed
-
Improve
unittest.removeHandlerin Python 2 -
Backport many
ParamSpec-related changes to Python 2 -
Use
ParamSpecinfreezegunstubs -
Improve
contextvars.Context -
Add
ParamSpectodecorator.contextmanager -
Improve
inspectstubs -
Clarify why some module-level objects in
typinghave default values -
Use PEP 585 syntax in
typingandtyping_extensions, and remove module-level defaults where possible -
Remove many checks from
check_new_syntax.py -
Use import instead of type alias in
email/message.pyi -
Use class-based syntax for
TypedDictinFlask-Cors/flask_cors/core.pyi -
Make
mappingattribute read-only on dict views classes -
Never use more than one
Literalper union -
Remove unneeded
# noqacomment -
Remove nearly all
__str__and__repr__methods from typeshed -
Add Y027 to list of ignored
.flake8error codes -
Add various PEP 584 methods, and improve
dict.__ior__ -
Use
_typeshed.Selfinprotobuf/google/protobuf/message.pyi -
Use PEP 585 syntax in
@python2/_ast, convert moreTypeVars to_typeshed.Self, &# noqaaSQLAlchemyline -
Use PEP 585 syntax in Python 2,
protobuf&_aststubs, where possible -
Use
int | Anyfortypes.FrameType.f_lineno -
Use
_typeshed.Selfin Python 2, too -
Remove even more unused
TypeVars -
Add more missing methods to
os._Environ -
Add
# noqacomments toAnyStr - Some pull requests not shown.
PyCQA/flake8-pyi
35
merged
1
open
1
closed
- flake8 config: exclude W291 & W293 in .py files
-
Detect functions that should use
ParamSpec, but don't - Improve Y015 error messages
-
Fix bug in unused
TypeVardetection w.r.t. subscript unions - Address small oversight in Y031 logic
- Introduce a check disallowing module-level defaults, and improve Y015 error messages
-
Make
PyiVisitora non-dataclass - Generalise logic keeping track of state
- Reformat a few test files
-
Add
.editorconfigfile - Improve mypy type-checking
- Add a couple more TypedDict test cases
- Run pytest in verbose mode in CI
-
Introduce Y031: Use class-based syntax for
TypeDicts wherever possible - Update CONTRIBUTING now we have pre-commit
- Improve flake8 config, make tests more concise
-
Detect multiple
Literalmembers in a union -
Ban defining
__repr__and__str__in stubs - Run isort in CI
- Make CI timeout longer for pytest
-
Introduce Y028: Use class-based syntax for
NamedTuples - Introduce Y027: Python 2-incompatible import linting
- Add email address
- Give CI jobs names
- Add note to changelog about changing dependencies
- Some pull requests not shown.
Reviewed 78 pull requests in 5 repositories
python/typeshed
37 pull requests
-
Use
ParamSpecinfreezegunstubs -
Improve
inspectstubs - Counter/defaultdict: Key type 'str' if initialized with keywords
-
Clarify why some module-level objects in
typinghave default values -
Use PEP 585 syntax in
typingandtyping_extensions, and remove module-level defaults where possible -
Add
mixinsmodule toasyncio -
Improve
>,<, etc forUUIDtype -
Possible option: use
ParamSpecforlru_cache -
Use more precise type for
gettext.find -
Add various PEP 584 methods, and improve
dict.__ior__ - fix TypeVar argument annotations
- Improve type for setdefault()
- Remove staticmethod.__new__ and classmethod.__new__
-
Use
_typeshed.Selfin Python 2, too - remove quoted strings
- remove "= ..." from top-level values
-
Add more missing methods to
os._Environ -
Add
# noqacomments toAnyStr - urllib3: allow allowed_methods to be False
-
Remove misleading comment from
staticmethodandclassmethod - Update definition of constants in urllib3.util.retry
-
Always use
_typeshed.Self, where applicable - Delete many redundant method redefinitions
- Update urllib3.exceptions stubs
- put redis.client._ScoreCastFuncReturn back
- Some pull request reviews not shown.
python/cpython
20 pull requests
-
bpo-46547: remove leaking vars into
pydoc.Helpernamespace - bpo-41370: Evaluate strings as forward refs in PEP 585 generics
- bpo-45897: Fix frozen-slotted dataclass bug
-
bpo-46483: remove
__class_getitem__frompathlib.PurePath - fix typo in typing.rst
- bpo-46414: Add typing.reveal_type
-
bpo-46195: Do not add
Optionalinget_type_hints -
[3.9] bpo-45680: Clarify documentation on
GenericAliasobjects (GH-29335) - bpo-46399: Expose DictKeysType, DictValuesType, and DictItemsType in …
-
bpo-46399: Add GenericAlias support to
dict_keys,dict_valuesanddict_itemstypes -
bpo-45447: Add syntax highlighting for
.pyifiles in IDLE -
bpo-40838 document
getdoc,getmodule,getsourcefileininspectreturnsNone - bpo-46342: make @typing.final introspectable
-
bpo-46333: Honor
moduleparameter in ForwardRef -
bpo-43698: do not use
...as argument name in docs - bpo-46246: add missing __slots__ to importlib.metadata.DeprecatedList
- bpo-46244: Remove __slots__ from typing.TypeVar, .ParamSpec
- [3.10] bpo-46266: Add calendar day of week constants to __all__ (GH-30412)
-
bpo-46269: remove special-casing of
__new__inEnum.__dir__ -
bpo-46262: cover error path in
enum.Flag._missing_
PyCQA/flake8-pyi
19 pull requests
-
Fix bug in unused
TypeVardetection w.r.t. subscript unions - Introduce a check disallowing module-level defaults, and improve Y015 error messages
- Generalise logic keeping track of state
- Improve mypy type-checking
-
Introduce Y031: Use class-based syntax for
TypeDicts wherever possible - add pre-commit config file
- On python<3.9, get rid of ast.Index before passing AST to PyiVisitor
-
Detect multiple
Literalmembers in a union -
Ban defining
__repr__and__str__in stubs - Enable TypeAlias check by default
- Update authors section
- Introduce Y022/Y023/Y024/Y025: Imports linting error codes
-
Detect
TypeVars that should be_typeshed.Self - introduce Y020 and Y021: never quote annotations
- Further README improvements
- get rid of Y090 and Y091
-
Detect unused
TypeVars -
Drop
attrsdependency and support for Python 3.6; refactor to use stdlibdataclasses - Improve control-flow readability
python/mypy
1 pull request
python/importlib_resources
1 pull request
Created an issue in python/mypy that received 11 comments
Implicit type aliases not recognised with PEP 604 + import cycles
This bug was originally surfaced by python/typeshed#6612. It is hard to tell if it is the only bug that was revealed by that PR, or if there are ot…
Opened 20 other issues in 3 repositories
PyCQA/flake8-pyi
7
closed
10
open
-
typing.TypeAlias&typing.Annotated -
Detect
Anyin__eq__/__ne__ - Improve CI
-
README.rst: Improve some error code descriptions - Improve documentation for how to reformat large codebases?
- Explore having certain error codes switched off by default if they're irrelevant to stubs
- Detect unhashable elements in a set?
-
Suggest class-based syntax for a
TypedDictif-and-only-if it has no invalid field names - Detect module-level constants
-
Disallow importing
typing.Text - No way to run a test case on only certain Python versions
- Improve error message for chained comparisons
- Refactor subscript logic?
- Detect unused type aliases
-
Either convert
.rstfiles to markdown, or add anrstlinting script to CI -
Improve
README.rst - Improve code readability