Giter Site home page Giter Site logo

python3.4 compatiblity about flake8-bugbear HOT 5 CLOSED

spaceone avatar spaceone commented on August 15, 2024
python3.4 compatiblity

from flake8-bugbear.

Comments (5)

spaceone avatar spaceone commented on August 15, 2024

Quoting you

By making the code exclusively Python 3.5+, I'm able to focus on the quality of the checks and re-use all the nice features of the new releases (check out pathlib) instead of wasting cycles on Unicode compatiblity, etc.

Unfortionately this makes your code not being usable by me. (I have no python 2.5 in the next X years when debian doesn't support this). Would you consider adding 3.4 compatibility?

from flake8-bugbear.

ambv avatar ambv commented on August 15, 2024

I'm sorry but no. I don't have any spare cycles to support legacy versions of the language and test that they work. The async/await syntax introduced in 3.5 is a big deal to me. More importantly, bugbear requires Python 3.5 to be able to parse source code that uses 3.5+ syntax.

Would you consider building a 3.5 to use for your linting needs? It would literally take you less time to do that than to file this bug.

from flake8-bugbear.

spaceone avatar spaceone commented on August 15, 2024

Okay.

from flake8-bugbear.

spaceone avatar spaceone commented on August 15, 2024

(We are still on 2.7 and this will probably not change in the next 2 years). But okay, I think I will just check our code manually once when I set up a 3.5 environment.

from flake8-bugbear.

ambv avatar ambv commented on August 15, 2024

flake8 is an external tool, you can keep it in an external virtual environment and just have it on PATH.

from flake8-bugbear.

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.