Giter Club home page Giter Club logo

pycomplexity's People

Contributors

alfredodeza avatar garybernhardt avatar gotcha avatar ignas avatar mgpb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pycomplexity's Issues

Line highlighting sometimes breaks in vim

I've seen groups of blank lines appear where they shouldn't be. When I save the file, they move downward for each save.

The whole line marking scheme is both slow and slightly wrong in vim. It'd be easiest to clear the marks each time, but that's very slow, which is out of my control since it's vim's fault. :(

ctermfg and ctermbg

I had to add ctermfg and ctermbg definitions in order to get a highlight in my terminal

hi low_complexity guifg=#004400 guibg=#004400 ctermfg=DarkGreen ctermbg=Green
hi medium_complexity guifg=#bbbb00 guibg=#bbbb00 ctermfg=DarkYellow ctermbg=Yellow
hi high_complexity guifg=#ff2222 guibg=#ff2222 ctermfg=DarkRed ctermbg=Red

Emacs repo

Hi,

Do you have any plans to put your extension to ELPA or MELPA?

Cheers.

get_old_complexity fails

I needed to comment out most of it, because it was failing to find "line" key in "variables" and thus failed, i don't know if it's related to the fact i use syntastic too, that manipulate the same part of the buffer (2 leftmost columns) to point to syntax errors.

IOError when file does not exist (yet)

When editing a new file Python will raise an IOError and it will fill the Messages window with errors similar to this:

Error detected while processing function <SNR>37_ShowComplexity:
line    3:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 163, in show_complexity
  File "<string>", line 175, in compute_scores_for
IOError: [Errno 2] No such file or directory: '/opt/devel/cms_dev/src/conf/foo.py'

Easy fix, but prefer to report it before I forget about it. I can send a pull request with a fix in the next week or so unless you beat me to it.

Comments are missing

Code is not understandable. Comments are necessary. Please try to add comments specially in complexity.py

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.