Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _loader/types: move to a cython package | Benjamin Schubert | 2019-06-06 | 1 | -0/+1 |
| | | | | | | Types is a simple module that accounts for a few percent of a basic 'show' operation. Having it cythonized allows us to get better performance without too much wokr | ||||
* | _loader/loader: cythonize valid_chars_name | Benjamin Schubert | 2019-06-05 | 1 | -1/+4 |
| | | | | | | | | | - Create a new _loader/utils.pyx cython module for functions cythonized in the loader module. - Move valid_chars_name from loader to utils and cythonize. This function is called extensively, and easy to extract | ||||
* | _yaml: Cythonize and internalize Node | Benjamin Schubert | 2019-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | Node used to be a NamedTuple that we used to access by index for speed reasons. Moving to an extension class allows us to access attributes by name, making the code easier to read and less error prone. Moreover, we do gain speed and memory by doing this move. Also fix a few places where we would not have an entire `Node` object but were instead just returning a tuple, missing some entries. | ||||
* | _variables: Cythonize _internal_expand | Benjamin Schubert | 2019-05-29 | 1 | -1/+1 |
| | | | | | | | Move _variables.py to be a Cython module. `_internal_expand` is a function that is called a lot in BuildStream. It is also entirely isolated and easy to cythonize. | ||||
* | lint: Fix or silence 'cyclic-import' errors and enable pylint for it | Benjamin Schubert | 2019-04-01 | 1 | -5/+0 |
| | | | | | | | | Cyclic imports can be confusing because the order in which we import dependencies can make the import fail or not. We should not rely on ordering of imports for our code. This fixes everywhere possible the imports and silence explicitely some which are not convenient or would require big refactors | ||||
* | casserver.py: fix logging-format-interpolation error and enable | Benjamin Schubert | 2019-03-21 | 1 | -2/+0 |
| | | | | This enables the "logging-format-interpolation" pylint error check | ||||
* | tests:lint: enable pylint | Benjamin Schubert | 2019-03-20 | 1 | -1/+1 |
| | |||||
* | plugin: bake API to get and validate a project path | Tiago Gomes | 2018-08-02 | 1 | -1/+1 |
| | | | | | | | | A project path is a path relative to a project directory. A project path can not also refer to the parent directory in the first path component, or point to symbolic links, fifos, sockets and block/character devices. | ||||
* | setup.py: Add grpcio dependency and support for code generation | Jürg Billeter | 2018-07-17 | 1 | -2/+2 |
| | | | | This allows code generation with ./setup.py build_grpc | ||||
* | .pylintrc: Enable attribute-defined-outside-init messages | Tristan Van Berkom | 2018-04-20 | 1 | -1/+0 |
| | | | | | | | This will give us an error if an instance attribute is ever declared outside of the constructor, which usually constitutes either a bug or a violation of the coding standard, rendering code more difficult to read. | ||||
* | .pylintrc: Enable linting for unused variables | Tristan Van Berkom | 2018-04-19 | 1 | -1/+0 |
| | |||||
* | .pylintrc: Enable unused-import checker | Jürg Billeter | 2018-03-25 | 1 | -1/+0 |
| | |||||
* | .pylintrc: Ensure pylint ignores gi.repository module as it dynamically adds ↵ | James Ennis | 2018-03-16 | 1 | -1/+1 |
| | | | | classes | ||||
* | pylint - dealt with whitespace issues and disabled pep8 warnings | James Ennis | 2018-03-14 | 1 | -2/+0 |
| | |||||
* | pylint - dealt with simplifiable-if-statement warning | James Ennis | 2018-03-14 | 1 | -2/+0 |
| | |||||
* | pylint - dealt with redefined-outer-name and redefined-built in warnings | James Ennis | 2018-03-14 | 1 | -4/+0 |
| | |||||
* | pylint - dealt with redefined-argument-from-local warning | James Ennis | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | pylint - dealt with unnecessary-pass warning | James Ennis | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | pylint - dealt with import warnings | James Ennis | 2018-03-14 | 1 | -4/+0 |
| | |||||
* | pylint - dealt with unidiomatic-typecheck warning | James Ennis | 2018-03-14 | 1 | -3/+0 |
| | |||||
* | pylint - dealt with superfluous-parens warning | James Ennis | 2018-03-14 | 1 | -3/+0 |
| | |||||
* | pylint - disabled no-member, bad-exception-context and ↵ | James Ennis | 2018-03-14 | 1 | -10/+3 |
| | | | | catching-non-exception warnings | ||||
* | pylint - dealt with len-as-condition warning | James Ennis | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | pylint - dealt with global-statement warning | James Ennis | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | pylint - dealt with dangerous-default-value warning | James Ennis | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | pylint - dealt with consider-merging-isinstance warnings | James Ennis | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | pylint - dealt with broad-except and bare-except warnings | James Ennis | 2018-03-14 | 1 | -2/+0 |
| | |||||
* | pylint - dealt with bad-continuation warning | James Ennis | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | pylint - dealt with anomalous-backslash-in-string warning | James Ennis | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | .pylintrc: Alterations to the configuration file | James Ennis | 2018-03-14 | 1 | -10/+5 |
| | |||||
* | .pylintrc: Amend which warning messages are disabled | James Ennis | 2018-03-14 | 1 | -73/+96 |
| | | | | | | NOTE: We have categorised the warning messages into two groups. Those that are of no use to us in the buildstream project and those that should be enabled at some point. | ||||
* | Generate pylint configuration file (pristine file): | James Ennis | 2018-03-14 | 1 | -0/+539 |
NOTE: pylint was installed using pip: `pip3 install pylint` and .pylintrc is the pylint configuration file which was generated with `pylint --generate-rcfile` from a fresh fedora-27 docker image. |