Comments (2)
We recommend enabling the mypy flag --allow-redefinition
and we use it internally and it will probably become the default in a future mypy version.
https://mypy.readthedocs.io/en/latest/common_issues.html#redefinitions-with-incompatible-types
https://mypy.readthedocs.io/en/latest/command_line.html?highlight=redefinition#miscellaneous-strictness-flags
Does that resolve your issue?
On a larger note we are considering options around linting the template to prevent issues with things like mypy.
from kedro.
@tolomea That works, thanks!
from kedro.
Related Issues (20)
- test_starters.py is very slow
- ci: Nightly build failure on `develop` HOT 1
- Remove `setuptools` from `spaceflights-pyspark-viz` starter on `pyspark` release
- ci: Nightly build failure on `develop`
- pandas.CSVDataSet in Tutorials needs to be replaced by pandas.CSVDataset with the lowercase "s" HOT 2
- ci: Nightly build failure on `main` HOT 1
- ci: Nightly build failure on `develop`
- Monthly issue metrics report HOT 1
- UnboundLocalError: cannot access local variable 'pipelines_package' where it is not associated with a value
- PySpark is not being included in requirements.txt file in a new kedro project
- Create a plugin for `ruff`/`flake8` that would check for bad practices specific to Kedro
- ci: Nightly build failure on `develop` HOT 6
- Deprecate micropackaging HOT 7
- DataCatalog.shallow_copy() destroys any `CustomDataCatalog` type object
- ci: Nightly build failure on `main` HOT 3
- Backfill some old documentation versions with static assets HOT 12
- Assess Kedro performance for complex pipelines
- Release 0.19.6
- Broken link in docs guidelines/standards
- ci: Nightly build failure on `main`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kedro.