Jannik Kissinger
Jannik Kissinger
I have the use case of preparing and then executing an sql command (cf. https://www.postgresql.org/docs/current/sql-prepare.html) During execution I need to convert the values to pass to the prepared command: ```...
The current point in polygon check algorithm is implemented in python which gets just in time compiled automatically if the package Numba is installed. Without Numba the algorithm is relatively...
https://hypothesis.readthedocs.io/en/latest/quickstart.html can be taken as baseline: https://github.com/jannikmi/multivar_horner/blob/master/tests/hypothesis_tests.py ```python from hypothesis import given, strategies as st @given(st.floats(-180, 180), st.floats(-90, 90)) def test_coordinate_validation_properties(lng, lat): ```
http://mypy-lang.org/ https://github.com/google/pytype
when i use `v0.5.0` on MacOS i see the following error ``` go imports...............................................................Failed - hook id: go-imports - exit code: 127 /Users/***/.cache/pre-commit/repoi1qjadfc/run-go-imports.sh: line 8: goimports: command not found ```
:pencil2: "Project Alice" link
For the following minimal code example i get the typing complaint "Method should have "self" as first argument": ```py from typing import Literal import pydantic class BaseModelClass(pydantic.BaseModel): """ Doctolib search...
currently the initialisation time of a `Timezonefinder` instance is around .7 seconds. This is probably mostly due to reading the polygon index file into memory. Find ways of reducing the...
steps: * [ ] listen to timezone boundary releases -> trigger (integrate into GHA workflow created here: https://github.com/jannikmi/timezonefinder/issues/273) * [ ] create new branch * [ ] run ``make data``:...
parameterise tests: each test case location should be its own test case. use something like: https://docs.pytest.org/en/6.2.x/parametrize.html#pytest-mark-parametrize-parametrizing-test-functions