GithubHelp home page GithubHelp logo

waszker / flake-type-annotations-plugin Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 14 KB

flake8 plugin that checks for the correct usage of Python typing annotations

Home Page: https://pypi.org/project/flake-type-annotations-plugin/

License: MIT License

Python 100.00%
flake8 flake8-plugin lint python

flake-type-annotations-plugin's Introduction

Hi ๐Ÿ‘‹

My name is Piotr Waszkiewicz.

I'm a software engineer located in Poland.

CV

If you are interested in my work experience take a look at my CV in the repo: CV_2023_eng.pdf.

Website

I invite all of those wanting to get to know me better to my personal website available at piotr-waszkiewicz.net.

Please note that it is hosted on what is intended to be a self-sustainable solution: a small ESP8266 chip connected to a battery and solar panel. It may be possible that the battery has run dry and there's no sun to charge it. In case of website unavailability try again at a later date.

flake-type-annotations-plugin's People

Contributors

waszker avatar

Watchers

 avatar

flake-type-annotations-plugin's Issues

Plugin does not correctly handle type definitions.

Describe the bug
The plugin does not detect usage of Union within inline type definitions.

To Reproduce
Create following type definition:

SomeType = dict[str, Union[int, str]

Expected behavior
The error should be returned with a message about Union usage.

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.