Comments (8)
I will see if there is a way to implement a PEP8 checker in my IDE. I think some have it.
from chiantipy.
@kdere many integrate with something like flake8. What IDE are you using?
from chiantipy.
i am using the Eric IDE. I don't immediately seen a plugin for flake but flake8 is available as a command-line too.
from chiantipy.
I did not know that IDE existed, cool! The homepage for it claims it has automatic PEP 8 checking!
from chiantipy.
Besides the usual PEP8 fixes (line lengths, spaces after commas, etc.), we should also think about changing the class, function, and variable naming convention in ChiantiPy. Roughly, this means making class names use the "CapWords" convention and letting function and variables names use lowercase with words separated by underscores.
from chiantipy.
There's also the pep8speaks bot for automatically linting PRs.
from chiantipy.
I could not figure out how to do PEP8 checking in eric but here is the email I got from Detlev Offenbach
Hello Ken,
the code style checker performs checks according to PEP8 and many others
(codes starting with E and W are mostly PEP8 related). PEP257 is dealing with
source code documentation style. The included checker has two styles,
documentation iaw. PEP257 and the eric docu style, which is derived from it.
The summary is, you are not missing anything.
Regards,
Detlev
Am Freitag, 7. April 2017, 11:24:38 CEST schrieb Ken Dere:
Hi,
this is not really bug but could not find the address for the mailing list
I am trying to make my code more compatible with the PEP8 standards.
If I go to project/show code style it only give me the option for PEP257
the PluginCodeStyleChecker seems to be installed
I guess I am missing something
thanks,
Ken
from chiantipy.
Theres also the pep8 command line tool. A bit less convenient, but you could just run that before each commit.
Between that and the pep8speaks bot, that would probably be more than sufficient.
from chiantipy.
Related Issues (20)
- KeyError on windows 10 HOT 5
- Error on running provided jupyter notebooks in the repo HOT 3
- line identifications in spectrum plot HOT 13
- Ability to give custom abundance files HOT 8
- Error while using spectrum with elementList only when all the ions are not present in the masterlist HOT 7
- Unexpected behavior when setting minAbund lower than lowest abund HOT 3
- Error when giving "Zn" in elementlist HOT 2
- How much memory does the mspectrum process consumes? HOT 1
- Chianti is taking more threads than specified HOT 2
- Clarify emission measure units in the function documentations. HOT 2
- Question: Support for photons/keV completed? HOT 10
- Getting spectrum from Ch.spectrum without smoothing/filtering HOT 4
- IDL and ChiantiPy gives different results. HOT 4
- Possible typo in function's documentation HOT 1
- NaNs generated when calculating spectra under certain conditions HOT 9
- Upload 0.15.1 to PyPI HOT 3
- Non-ionization equilibrium? HOT 2
- Unable to load ioneq HOT 10
- Two-photon calculation? HOT 1
- Problem with mspectrum? HOT 9
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 chiantipy.