Jérôme Lafréchoux

Results 65 issues of Jérôme Lafréchoux

Originally in https://github.com/marshmallow-code/flask-smorest/pull/549. One may add a range validator to every int field in their code base but that is cumbersome. Or subclass the Integer field to create a dedicated...

This PR shows what it would look like if we used Python 3.11's improved `fromisoformat` (backported for older releases). Less code on our side and it should be more efficient...

`set_class` defaults to `OreredSet` which is convenient enough, and setting `dict_class` to `OredredDict` is a corner case, so we can get rid of the `ordered` attribute and pass those as...

refactor
backwards incompat

I just got caught. I wrote ```py validate=validate.OneOf("one", "two") ``` instead of ```py validate=validate.OneOf(["one", "two"]) ``` `"one"` would pass because `"one" in "one"` is `True`. It might save users trouble...

enhancement

@maximkulkin, could you please make Steven (@sloria) and I owners of the [PYPI project](https://pypi.org/manage/project/marshmallow-oneofschema/collaboration/)? - https://pypi.org/user/lafrech/ - https://pypi.org/user/sloria/ Thanks. -------------------- @sloria, if we don't get any answer from Maxim after...

Shouldn't B019 be emitted only when `maxsize` is `None`, as in https://github.com/PyCQA/pylint/pull/6181?

PyQt4 code: ```python from PyQt4 import QtCore, QtGui class Test(QtGui.QDialog): def set_filepath(self): self.filePathEdit.setText( QtGui.QFileDialog.getOpenFileName( self, "Choose file", self.filePathEdit.text())) ``` results in ```python from PyQt5 import QtCore, QtGui, QtWidgets class Test(QtWidgets.QDialog):...

Since the repo was transferred to [MongoEngine/marshmallow-mongoengine](https://github.com/MongoEngine/marshmallow-mongoengine), no "issues" tracker was created there. I suppose issues should be transferred and this tracker should be closed.