Comments (5)
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.
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.
Okay.
from flake8-bugbear.
(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.
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)
- Couple new rule suggestions HOT 2
- Rule to detect changes to iterable object of loop HOT 5
- Error in latest version of flake8-bugbear 24.1.15 HOT 4
- B038 false positive in 24.1.15 + 24.1.16 HOT 5
- B018 doesn't trigger for useless expressions involving multiple variables HOT 3
- B909 improvements HOT 4
- B038 false positives HOT 5
- How to handle B015 within pytest.raises blocks
- B031 does not take into account if-else statements
- B909 has several false positives on black codebase HOT 7
- B023: false positive for nested function inside loop HOT 1
- B024 false negative when there's a class var
- Incorrect version number 24.4.6? HOT 3
- Feature request: lint for dropped exception after `.add_note()` HOT 1
- Feature Request: expand B006 and B008 to also cover `ContextVar` defaults
- Type annotate code via mypy (strict) typechecking all flake8-bugbear code HOT 4
- B017 - assertRaises - ignore when msg param is passed HOT 2
- Suppress B901 if function explicitly returns Generator
- DeprecationWarning: The `hash` argument is deprecated in favor of `unsafe_hash` HOT 1
- Consider adding alru_cache to B019 HOT 1
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 flake8-bugbear.