Comments (9)
By default I think it's just running pycodestyle. pep8speaks has a custom YAML config for pycodestyle; default here. You can get similar information from pylint
or flake8
.
I use pylint
locally (when I remember). I think pep8speaks only errors on official errors (codes that start with E). (EDIT: actually, I use pylint
by way of Syntastic.)
from openfe.
pep8speaks is up - didn't customize for now (MDA just uses the base version and just has an annoying bot tell you off for PEP8 violations) - if you feel like customizing please see:
https://github.com/OrkoHunter/pep8speaks?installation_id=22593205&setup_action=install#configuration
from openfe.
What are we thinking for linters other than pep8speaks? Do we need anything else?
IMO, that's all we need in terms of something directly integrated into GitHub. Personally, I like to use CodeClimate to check complexity/repetition (goes beyond linting!), but I don't think it needs to be a hoop for contributors to jump through. I'll enable it on my fork to keep an eye on potential technical debt. I also like to run pylint
occasionally, but I don't think we need to enforce style on all the pylint
warnings.
from openfe.
Is there a way to run pep8speaks locally? If we are not using a linter that also takes care of formatting automatically, then it's nice to have something that I can run local before I push.
from openfe.
Okay cool, we should probably then include the config that pep8speaks uses so that we get the same errors and warning locally as we do with the bot.
from openfe.
We should also add a CONTRIBUTING file, is there something that OMSF is using for this?
from openfe.
Okay cool, we should probably then include the config that pep8speaks uses so that we get the same errors and warning locally as we do with the bot.
Sorry, my writing wasn't clear: pep8speaks has a YAML config for itself; the link was to the default values. pycodestyle uses a section in setup.cfg
. But I think the pep8speaks default is basically what you get with no config for pycodestyle.
We should also add a CONTRIBUTING file, is there something that OMSF is using for this?
Checked a couple OpenFF repos; didn't see anything. No strong opinions from me on CONTRIBUTING files.
from openfe.
We should also add a CONTRIBUTING file, is there something that OMSF is using for this?
I would say maybe we need to kick this up the chain of command? I know Karmen mentioned that they were working on some CLAs for OMSF projects. @richardjgowers would know better here.
from openfe.
Moving CONTRIBUTING.md to it's own issue - as per slack, close for now.
from openfe.
Related Issues (20)
- Frequent "Should have \sum_n W_nk = 1" errors in analysis HOT 4
- Add a warning/note in the setup that protein inputs may need to be equilibrated before running RBFE? HOT 1
- Get macos-12+, including osx-arm64 (i.e. macos-latest) runners working in CI HOT 1
- [docs] Showcase notebook failing to render HOT 2
- Unpin rdkit on mypy HOT 3
- Run through tutorial using 1.0 release HOT 3
- mark gaff tests as xfail HOT 1
- [docs] find new home for `OpenFE_showcase_1_RBFE_of_T4lysozyme.ipynb` example
- Using customized force field for small molecules HOT 8
- raise a warning if a user supplies an unsupported key in a settings yaml
- CalledProcessError: 9 HOT 2
- Fix OpenFE tests to match main on Lomap
- Validate OpenFE working on latest of our key tools
- Add rever instructions to release instructions in the wiki
- Add install instructions for the conda lock files
- Issue with PyMBAR4
- Using OPC water models for RBFE calculations HOT 1
- Using other versions of small ligand ff (GAFF) instead of the default one HOT 1
- [CLI] inspect command for json output files
- Review zenodo authors
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 openfe.