-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to requirements,txt to remove unneeded dependencies (#114)
* Changes to requirements,txt to remove unneeded dependencies Added exclusions to conf.py and setup.py to skip install of some dependencies for ReadTheDocs - these packages will be mocked in their build Bug in azure_auth_core.py - raise from should have been an exception object, not a class Bug in secret_settings.py - potential uninitialized variable Updated test_mordor_driver.py to remove files on completion, Also marked file download tests as CI-only Added pylint and flake8 as pre-commit hooks - should stop fewer errors getting into build Some tidying of code (Sourcery) in azure_auth_core and secret_settings. Updated version to 0.8.7 * Fixing some warnings in the documentation. Fixing other things too.
- Loading branch information
Showing
15 changed files
with
322 additions
and
178 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 |
---|---|---|
@@ -1,22 +1,35 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: check-json | ||
- id: trailing-whitespace | ||
- id: check-yaml | ||
- id: check-json | ||
- id: trailing-whitespace | ||
args: [--markdown-linebreak-ext=md] | ||
- repo: https://github.com/ambv/black | ||
- repo: https://github.com/ambv/black | ||
rev: 20.8b1 | ||
hooks: | ||
- id: black | ||
language: python | ||
- repo: local | ||
- id: black | ||
language: python | ||
- repo: https://github.com/pre-commit/mirrors-pylint | ||
rev: v2.6.0 | ||
hooks: | ||
- id: download_tlds | ||
name: download_tlds | ||
entry: python -m pre-commit.download_tlds | ||
pass_filenames: False | ||
language: python | ||
types: [python] | ||
args: [--tld-seed=./msticpy/sectools/tld_seed.txt] | ||
- id: pylint | ||
args: | ||
- --disable=E0401 | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.4 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
- --extend-ignore=E0401,E501 | ||
- --max-line-length=90 | ||
- repo: local | ||
hooks: | ||
- id: download_tlds | ||
name: download_tlds | ||
entry: python -m pre-commit.download_tlds | ||
pass_filenames: False | ||
language: python | ||
types: [python] | ||
args: [--tld-seed=./msticpy/sectools/tld_seed.txt] |
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
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
Oops, something went wrong.