GithubHelp home page GithubHelp logo

Comments (12)

ffl096 avatar ffl096 commented on May 22, 2024 2

(or maybe flake8 has a type checking plugin, I don't have a strong preference for a specific tool, just type checking in general)

flake8 doesn't do much on its own, it delegates the heavy work to other existing tools. There is a plugin for mypy as well, but I think it's better to use mypy directly. That one really only exists as a workaround for editors that have integrated flake8 support but no integration for mypy.

from toponetx.

ffl096 avatar ffl096 commented on May 22, 2024 1

I personally always use type annotations in my code, as it generally improves IDE support (suggestions, errors).

from toponetx.

mhajij avatar mhajij commented on May 22, 2024

what is your recommendation ?

from toponetx.

mhajij avatar mhajij commented on May 22, 2024

ok then, I will start addressing this issue then.

from toponetx.

josefhoppe avatar josefhoppe commented on May 22, 2024

I agree. In the medium term, I think we should also add mypy to the linters as it can easily detect some type errors (I just ran it manually and it found two mistakes that can be easily overlooked by humans, even with the limited type hinting currently present in the codebase)

from toponetx.

josefhoppe avatar josefhoppe commented on May 22, 2024

(or maybe flake8 has a type checking plugin, I don't have a strong preference for a specific tool, just type checking in general)

from toponetx.

michaelschaub avatar michaelschaub commented on May 22, 2024

It appears the discussion has a relatively clear outcome (so I changed the title of the issues). It seems, clear we should do it, but it is not a top-priority right now. However, we should probably add this as requirement for new commits.

from toponetx.

ninamiolane avatar ninamiolane commented on May 22, 2024

@ffl096 do you have updates on this? Should we close it?

from toponetx.

ffl096 avatar ffl096 commented on May 22, 2024

This is an ongoing effort and will be automatically closed once #163 is merged. The remaining issues are non-trivial and will take more time.

from toponetx.

ninamiolane avatar ninamiolane commented on May 22, 2024

@ffl096 when will you expect this to be completed?

from toponetx.

USFCA-MSDS avatar USFCA-MSDS commented on May 22, 2024

@ffl096 should we close this task ?

from toponetx.

ffl096 avatar ffl096 commented on May 22, 2024

See #163.

from toponetx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.