Skip to content

Commit

Permalink
Adjusted venv directory name in workflow and fixed style violation
Browse files Browse the repository at this point in the history
  • Loading branch information
akenion committed Sep 27, 2024
1 parent eed7479 commit 481735a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate-code-styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update && sudo apt-get install -y python3-full
- run: python3 -m venv ./python-venv
- run: ./python-venv/bin/pip install flake8 flake8-bugbear
- run: ./python-venv/bin/python -m flake8 --exclude python-venv --require-plugins pycodestyle,flake8-bugbear
- run: python3 -m venv ./venv
- run: ./venv/bin/pip install flake8 flake8-bugbear
- run: ./venv/bin/python -m flake8 --exclude venv --require-plugins pycodestyle,flake8-bugbear
4 changes: 1 addition & 3 deletions wordfence/cli/config/base_config_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@
"if supported using the STARTTLS SMTP command.",
"context": "ALL",
"argument_type": "OPTION",
"meta": {
"valid_options": [mode.value for mode in SmtpTlsMode]
},
"meta": {"valid_options": [mode.value for mode in SmtpTlsMode]},
"default": SmtpTlsMode.STARTTLS.value,
"category": "Email"
},
Expand Down

0 comments on commit 481735a

Please sign in to comment.