-
Notifications
You must be signed in to change notification settings - Fork 72
fix: enhance project configuration with dynamic versioning and update CI workflow for artifact handling #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
michiosw
merged 8 commits into
main
from
35-feature-fix-pypi-package-release-versioning
Apr 15, 2025
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
095b4cd
fix: enhance project configuration with dynamic versioning and update…
hashkode 4df9be0
fix: update Dockerfile to include git installation, enhance pyproject…
hashkode 1131291
fix: enhance pyproject.toml with asyncio fixture loop scope and updat…
hashkode 9e8f19d
refactor: update pyproject.toml to include specific package paths, en…
hashkode 78dbad4
fix: add configuration files for Bandit, Flake8, Pylint and Pyright t…
hashkode bb8a8e9
fix: replace .bandit file with .bandit.yml for improved configuration…
hashkode 23ec008
refactor: reorganize server.py by moving SSE transport setup to the m…
hashkode 0b0d41a
fix: update Dockerfile to disable anonymized telemetry and adjust env…
hashkode File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,9 @@ | ||
--- | ||
# Bandit configuration file | ||
|
||
# Skip specific test IDs | ||
skips: [B104, B404, B603] | ||
|
||
# Plugin configs | ||
any_other_function_with_shell_equals_true: | ||
no_shell: [subprocess.Popen] |
This file contains hidden or 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,6 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
extend-ignore = E501 | ||
per-file-ignores = | ||
server/server.py:E501 | ||
src/browser_use_mcp_server/cli.py:E501 |
This file contains hidden or 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 hidden or 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 hidden or 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,59 @@ | ||
[MASTER] | ||
# Python version | ||
py-version = 3.11 | ||
|
||
# Disable specific messages | ||
disable= | ||
C0301, # Line too long | ||
R0402, # Use 'from mcp import types' instead | ||
W1203, # Use lazy % formatting in logging functions | ||
R0913, # Too many arguments | ||
R0917, # Too many positional arguments | ||
R0914, # Too many local variables | ||
W0718, # Catching too general exception Exception | ||
R0915, # Too many statements | ||
W0613, # Unused argument | ||
R1705, # Unnecessary "elif" after "return" | ||
R0912, # Too many branches | ||
W0621, # Redefining name from outer scope | ||
W0404, # Reimport | ||
C0415, # Import outside toplevel | ||
W0212, # Access to a protected member | ||
W0107, # Unnecessary pass statement | ||
R0801, # Similar lines in files | ||
import-error, | ||
no-value-for-parameter, | ||
logging-fstring-interpolation, | ||
protected-access, | ||
redefined-outer-name, | ||
reimported | ||
|
||
# Add files or directories to the blacklist | ||
ignore=.git,__pycache__,.venv,dist,build | ||
|
||
# Use multiple processes to speed up Pylint | ||
jobs=4 | ||
|
||
[FORMAT] | ||
# Maximum number of characters on a single line | ||
max-line-length=120 | ||
|
||
# Maximum number of lines in a module | ||
max-module-lines=300 | ||
|
||
[MESSAGES CONTROL] | ||
# Only show warnings with the listed confidence levels | ||
confidence=HIGH,CONTROL_FLOW | ||
|
||
[DESIGN] | ||
# Maximum number of arguments for function / method | ||
max-args=10 | ||
|
||
# Maximum number of locals for function / method | ||
max-locals=30 | ||
|
||
# Maximum number of statements in function / method body | ||
max-statements=60 | ||
|
||
# Maximum number of branch for function / method body | ||
max-branches=15 |
This file contains hidden or 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 hidden or 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 hidden or 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 @@ | ||
{ | ||
"reportMissingImports": false, | ||
"reportMissingModuleSource": false, | ||
"reportOptionalMemberAccess": false, | ||
"reportAttributeAccessIssue": false, | ||
"reportCallIssue": false, | ||
"reportFunctionMemberAccess": false | ||
} |
This file contains hidden or 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,3 +1,29 @@ | ||
from .server import main | ||
""" | ||
Browser-Use MCP Server core implementation. | ||
|
||
__all__ = ["main"] | ||
This package provides the core implementation of the MCP server for browser automation. | ||
""" | ||
|
||
from .server import ( | ||
CONFIG, | ||
Server, | ||
cleanup_old_tasks, | ||
create_browser_context_for_task, | ||
create_mcp_server, | ||
init_configuration, | ||
main, | ||
run_browser_task_async, | ||
task_store, | ||
) | ||
|
||
__all__ = [ | ||
"Server", | ||
"main", | ||
"create_browser_context_for_task", | ||
"run_browser_task_async", | ||
"cleanup_old_tasks", | ||
"create_mcp_server", | ||
"init_configuration", | ||
"CONFIG", | ||
"task_store", | ||
] |
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.