Pyeo is an advanced static analysis tool tailored specifically to enforce the principles advocated by Elegant Objects (elegantobjects.org) in Python projects. It serves as a quality control instrument to ensure that your Python code adheres to the core tenets of elegance, simplicity, and maintainability.
Project description
pyeo
Pyeo is an advanced static analysis tool tailored specifically to enforce the principles advocated by Elegant Objects (elegantobjects.org) in Python projects. It serves as a quality control instrument to ensure that your Python code adheres to the core tenets of elegance, simplicity, and maintainability.
- No null (why?)
- No code in constructors (why?)
- No getters and setters (why?)
- No mutable objects (why?)
- No readers, parsers, controllers, sorters, and so on (why?)
- No static methods, not even private ones (why?)
- No instanceof, type casting, or reflection (why?)
- No public methods without a contract (interface) (why?)
- No statements in test methods except assertThat (why?)
- No ORM or ActiveRecord (why? and why?)
- No implementation inheritance (why? and why?)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eo_styleguide-0.0.1a1.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for eo_styleguide-0.0.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 723420ee7b2fcf527e74a003f4f87d95395e8005b3a674bc77f3c466f3a1775b |
|
MD5 | 68d138a2b648a2ae2cba5742386a13c2 |
|
BLAKE2b-256 | 7da2943b7122029e5a7aefb2559f426bf8cd9c98b25becc2dbc9e40b9205eabb |