| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | |
|
| | | | | |
|
| | |/ / |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
* Ignore D1xx for tests because they shouldn't require docstrings
* Update pre-commit-hooks repo to v2.2.3
|
| | | |
| | |
| | |
| | | |
This reverts commit c2416eb672afc80476fe2da1b364af5d018a16b0.
|
| | | |
| | |
| | |
| | | |
This reverts commit e75c764f693c3688a59af0d679e0d3e94f003503.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pre-commit is a nice wrapper for this particularily because it allows
both the snekbox and tests to be linted with a single command while
clearly distinguishing their results.
The Python script is a cross-platform implementation of the following:
git ls-files -- '*.py' | xargs pre-commit run flake8 --files
|
| | | |
| | |
| | |
| | |
| | | |
Tests ignore all D1xx warnings because tests shouldn't require
docstrings.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Excluded files and directories in the flake8 config file are overwritten
by the --files argument, which is considered intended behaviour.
However, this is problematic due to pre-commit's reliance on the
--files argument. Therefore, pre-commit's own exclude config option
must be leveraged.
* Properly exclude tests directory
* Add flake8 plugins as dependencies so that they are actually used
|
| | |/ |
|
| | |\ |
|
| | |\ \
| | | |
| | | | |
Restructure Docker Images
|
| | | | |
| | | |
| | | |
| | | | |
This reverts commit 02e348ac249c1aba2d378ecda9af2a9a8ac1c894.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
The venv image will still not be built in a PR if a Pipfile changes.
|
| | | | |
| | | |
| | | |
| | | | |
This reverts commit c66b10f8820907fb7065cbede2e87c541da6029b.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This reverts commit 27af05b05b5c5bc0974ed61bf75f93a3b42280df.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The "Builds - List" endpoint is used to retrieve only the most recent
successful build. Builds will be fetched for the target branch if the
current build is for a PR. Otherwise, the current build's source branch
is used.
* Remove variable group and COMMIT_HASH stuff
* Add logging to the "Check Changed Files" step
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The base image is only built when base.Dockerfile changes. The virtual
environment image is only built when the base image is built,
venv.Dockerfile changes, or either Pipfile changes. Images are pushed
only after all images have been successfully built.
|
| | | | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Create a separate image for the virtual environment
* Build NsJail in the base image
* Remove the NsJail binaries
* Replace tini with Docker's init feature
* Update Python to 3.7.3
|
| | | | |
|
| | |\ \
| | | |
| | | | |
Restructure the Project Layout
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |\ \ |
|
| | | |\ \
| | |/ /
| |/| | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
* Replace py.test command with pytest
|
| | | | | |
|