Comments (4)
OK, then we shall add a .flake8
configuration file with
[flake8]
max-line-length = 88
extend-ignore = E203
as suggested by black's documentation and use flake8
in our IDE (I do so already) and within the CI. This would point us to where we need to manually do some adjustments for docstrings.
from atomec.
Note:
Black can split long strings to fit the line length using --experimental-string-processing
. However, this applies not (yet) to docstrings.
from atomec.
Yes, this was bothering me. I've been looking to see if there is an option to enforce this but so far I didn't find anything. If you have an alternative suggestion to black
, I'm happy to consider it.
In any case I don't mind the line length, if we stick with black
I'd lean slightly towards 88 but otherwise I don't have a preference.
from atomec.
Closing due to PR #30
from atomec.
Related Issues (20)
- Update Sphinx
- Remove `numpy.matrix` statements HOT 1
- Mirror to CASUS not working HOT 1
- Temperature warnings need changing HOT 1
- Test workflow warnings HOT 3
- PyPI badge does not update to recent version - automate clearing the cache? HOT 1
- Mirror CI obviously broken HOT 1
- GGA implementation for sqrt grid HOT 1
- atoMEC not installable for Python > 3.9 HOT 1
- Codecov showing different coverage than locally
- Docs need checking
- Defaults need overhaul HOT 1
- New implementation with fp options seems unstable HOT 1
- Convergence procedure should be simplified
- Move from `setup.py` to `pyproject.toml`
- Make sqrt grid available for more postprocessing HOT 1
- Make sqrt grid available for more postprocessing
- Publish to PyPI broken
- Update examples folder
- Fix small issues in README
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 atomec.