aboutsummaryrefslogtreecommitdiffstats
path: root/.flake8 (follow)
Commit message (Collapse)AuthorAgeLines
* Update all references to /lang to /snekbinGravatar Chris Lovering2024-10-03-1/+1
|
* Add black and isortGravatar MarkKoz2022-06-03-4/+1
|
* Rename Generated ProtoBuf ConfigGravatar Hassan Abouelela2021-12-20-1/+1
| | | | | | | Remove the rename step from the protobuf generation script to get around a bug causing failures in the test suite. Signed-off-by: Hassan Abouelela <[email protected]>
* Compile the NsJail config protobuf into Python codeGravatar MarkKoz2021-01-10-1/+1
| | | | Include a helper shell script for compilation.
* Re-arrange settings in .flake8 fileGravatar MarkKoz2021-01-09-11/+13
|
* Use a custom directory for exposed Python packagesGravatar MarkKoz2021-01-09-1/+1
| | | | | | | | | | | | | | | | | Isolate snekbox's dependencies from the packages available within the Python interpreter. Disable Python's default behaviour of site-dependent manipulations of sys.path. The custom directory looks like a user site to allow `pip install --user` to work with it. However, snekbox will see it as simply an additional search path for modules rather than as a user site. Disable isolated mode (-I) because it implies (-E), which ignores PYTHON* environment variables. This conflicts with the reliance on `PYTHONPATH`. Specify `PYTHONUSERBASE` in the Dockerfile to make installing packages to expose more intuitive for users. Otherwise, they'd have to remember to set this variable every time they need to install something.
* Update to Python 3.9Gravatar MarkKoz2020-11-14-2/+2
|
* Add flake8-annotations & relintGravatar sco12019-09-23-2/+4
|
* Fix misconfigured flake8 so docstrings are properly lintedGravatar S. Co12019-09-05-2/+3
| | | Bump flake8-docstrings dependency pin to support the fix
* Lint testsGravatar MarkKoz2019-05-30-3/+3
| | | | | * Ignore D1xx for tests because they shouldn't require docstrings * Update pre-commit-hooks repo to v2.2.3
* Add flake8 plugin to only allow double quotesGravatar MarkKoz2019-05-29-0/+1
|
* Merge branch 'master' into revitalisationGravatar MarkKoz2019-05-28-1/+1
|\
| * Remove space between ignored flake8 rulesGravatar Mark2019-04-24-1/+1
| |
| * Put back D400 as ignored codeGravatar sco12019-04-24-1/+1
| | | | | | | | Oops
| * Remove docstring newline linting from ignored codesGravatar sco12019-04-24-2/+2
| | | | | | | | | | | | Remove docstring-ends-with-period enforcement to allow for freedom of punctuation. Removes D202, D204, D400
* | Restructure project layoutGravatar MarkKoz2019-03-28-1/+1
|/ | | | | | | | | * Move all code into a "snekbox" package * Use logging code as __init__.py * Rename Snekbox class to NsJail * Create "site" sub-package * Move templates into this sub-package * Move Flask code into a new snekapp module
* Merge branch 'master' into flake8-updatesGravatar Christopher Goes2019-03-24-1/+1
|\ | | | | | | | | | | | | # Conflicts: # .flake8 # Pipfile # Pipfile.lock
| * Fix ordering of importsGravatar Christopher Goes2019-03-19-1/+1
| |
* | Add D400 to ignored flake8 rulesGravatar Christopher Goes2019-03-24-1/+1
| |
* | Update flake8 configuration with new docstring rulesGravatar Christopher Goes2019-03-19-2/+14
|/
* flake8 linelength changeGravatar Tagptroll12019-02-14-0/+6