-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the repository to make it simpler (#55)
Ditch the eql_source_layouts package: remove MANIFEST.in, setup.py and versioneer. Move all code inside the notebooks folder. All additional code lives inside notebooks/source_layouts, including its test functions. Replace os.path for pathlib. Add a new run target in the Makefile. Save variables into JSON files and create a notebook to convert them all to LaTeX variables. Prevent saving & loading the datasets in the same notebook. Remove setup.cfg, move flake8 configuration to .flake8 and don't ignore F401 anymore. Add flake8-bugbear as a dependency.
- Loading branch information
1 parent
1f53f86
commit 4738c85
Showing
66 changed files
with
1,802 additions
and
20,220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[flake8] | ||
ignore = E203, E266, E501, W503, E741 | ||
max-line-length = 88 | ||
exclude = notebooks/.ipynb_checkpoints | ||
per-file-ignores = | ||
# imported but unused | ||
__init__.py: F401 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,5 +31,4 @@ jobs: | |
- name: Test with pytest | ||
run: | | ||
pip install pytest pytest-cov coverage | ||
pip install -e . | ||
make test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,4 @@ dependencies: | |
- black | ||
- pylint | ||
- flake8 | ||
# Install our package in editable mode | ||
- pip: | ||
- -e . | ||
- flake8-bugbear |
Oops, something went wrong.