Comments (7)
Do you know any other python project that have the "Blank lines must have the same indentation level as the immediately following non-blank line" rule? Or for that matter the rest of the guide.
I'm just trying to automate my toolset and would appreciate hints on how other have configured their linters etc.
from trade-dangerous.
I don't know of any other python projects, period.
from trade-dangerous.
Regarding the indentation, I'm still trying to figure out how pylint checkers work in order to make one to correctly handle the indenting, as well as setting up pylint to conform to the style being used in TD, such as naming conventions, etc.
I'm not finding very good documentation on how checkers work, and the custom_raw.py example isn't much help, but I did manage to figure out how to correctly automate the indentation using find
and sed
:
find * -type f -name "*.py" -print0 | xargs -0 sed -i -e '/^ *$/{N;s/^ *\n\( *\)\(.*\)/\1\n\1\2/}'
from trade-dangerous.
As this is written in Python 3.x, using PEP 8 as the style guide makes the most sense, no?
from trade-dangerous.
Except as the above differs from that, sure.
from trade-dangerous.
How can { eggs: 2 }
be OK if spaces immediately inside brackets or braces is to be avoided?
Is it a typo or can you clarify
from trade-dangerous.
Typo, I think
from trade-dangerous.
Related Issues (20)
- Executing a trade run after a database update gives an error. In my TD\data folder the Tradedangerous.prices file is not showing HOT 6
- Fix the need to generate prices - pretty please with sugar on top. HOT 16
- When I run the command "trade.py import -P eddblink -O all", I get error messages ! HOT 9
- A General List of Potential Issues
- Fix warnings in deploy HOT 4
- Server hosting upgrade HOT 53
- Locale changes break on systems with certain locales, in general unnecessary
- Looks like `--progress` no longer works HOT 1
- Function/command "Cmdr Profile" generates an error HOT 4
- The search for specific goods generates an error ! Function "buy" HOT 10
- Again a problem with the command/function "Cmdr Profile" HOT 5
- The Culling: What's deprecated/discontinued?
- Enable Discussions tab in Github?
- PadSize argument parser is explicitly only allowing one character HOT 3
- Duplicate Rescue Ship "HR 1183/Arc's Faith" HOT 1
- The server seems to be no longer updating. HOT 11
- Could you add option to filter out Fleet Carriers HOT 1
- `trade.py trade` definitely does more work than it should HOT 7
- SQL error on first re-import of `eddblink` HOT 2
- Database / needed file size optimisations HOT 8
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 trade-dangerous.