induane / simple-flake8 Goto Github PK
View Code? Open in Web Editor NEWSimple flake8 linter for atom
License: MIT License
Simple flake8 linter for atom
License: MIT License
Hi, here is another user of your really nice package ...
In your simple-flake8-view.coffee you have the following lines:
Basic flake8 parsing tool with callback functionality
flake = (filePath, callback) ->
line_expr = /:(\d+):(\d+): ([CEFW]\d{3}) (.*)/
The line_expr is OK when you only use standard-flake8 without plugins
I've changed the line expression like this
line_expr = /:(\d+):(\d+): ([A-Z]\d{3}) (.*)/
so I'm able to use any flake8-plugin I like
Maybe you want to implement this ...
[Enter steps to reproduce below:]
Atom Version: 1.0.2
System: Debian GNU/Linux
Thrown From: simple-flake8 package, v0.9.7
Uncaught TypeError: Cannot set property 'evidence' of undefined
At /home/liphvf/.atom/packages/simple-flake8/lib/simple-flake8-view.coffee:45
TypeError: Cannot set property 'evidence' of undefined
at LineStream.<anonymous> (/home/liphvf/.atom/packages/simple-flake8/lib/simple-flake8-view.coffee:50:43)
at emitOne (events.js:77:13)
at LineStream.emit (events.js:166:7)
at readableAddChunk (_stream_readable.js:146:16)
at LineStream.Readable.push (_stream_readable.js:109:10)
at LineStream.Transform.push (_stream_transform.js:128:32)
at LineStream._transform (/home/liphvf/.atom/packages/simple-flake8/node_modules/byline/lib/byline.js:110:17)
at LineStream.Transform._read (_stream_transform.js:167:10)
at LineStream.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:295:12)
-0:07.3.0 command-palette:toggle (atom-text-editor.editor.is-focused)
5x -0:04.5.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:01.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:00.9.0 simple-flake8:toggle (atom-text-editor.editor)
{
"core": {
"disabledPackages": [
"markdown-format",
"you-complete-me",
"markdown-preview-plus",
"linter-flake8"
],
"themes": [
"one-dark-ui",
"monokai"
]
}
}
# User
autoclose-html, v0.18.0
autocomplete-plus-python-jedi, v0.3.6
color-picker, v2.0.9
git-diff-details, v0.18.0
highlight-selected, v0.10.1
linter, v1.2.4
markdown-scroll-sync, v0.4.0
markdown-table-formatter, v2.5.2
minimap, v4.12.0
monokai, v0.14.0
seti-icons, v0.3.1
simple-flake8, v0.9.7
# Dev
No dev packages
This error appear for me. Thanks for your work, and please. fix it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.