Skip to content

Commit 6b6884b

Browse files
committed
lint
1 parent 47bb41f commit 6b6884b

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.evergreen/install-dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function _pip_install() {
1919
. $_HERE/utils.sh
2020
_VENV_PATH=$(mktemp -d)
2121
echo "Installing $2 using pip..."
22-
createvirtualenv $(find_python3) $_VENV_PATH
22+
createvirtualenv "$(find_python3)" $_VENV_PATH
2323
python -m pip install $1
24-
ln -s $(which $2) $_BIN_DIR/$2
24+
ln -s "$(which $2)" $_BIN_DIR/$2
2525
echo "Installing $2 using pip... done."
2626
}
2727

.evergreen/run-tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ if [ -n "$TEST_ENCRYPTION" ] || [ -n "$TEST_FLE_AZURE_AUTO" ] || [ -n "$TEST_FLE
161161
fi
162162
export PYMONGOCRYPT_LIB
163163
# Ensure pymongocrypt is working properly.
164+
# shellcheck disable=SC2048
164165
uv run ${UV_ARGS[*]} python -c "import pymongocrypt; print('pymongocrypt version: '+pymongocrypt.__version__)"
166+
# shellcheck disable=SC2048
165167
uv run ${UV_ARGS[*]} python -c "import pymongocrypt; print('libmongocrypt version: '+pymongocrypt.libmongocrypt_version())"
166168
# PATH is updated by configure-env.sh for access to mongocryptd.
167169
fi
@@ -257,6 +259,7 @@ if [ -n "$GREEN_FRAMEWORK" ]; then
257259
fi
258260

259261
# Show the installed packages
262+
# shellcheck disable=SC2048
260263
PIP_QUIET=0 uv run ${UV_ARGS[*]} --with pip pip list
261264

262265
if [ -z "$GREEN_FRAMEWORK" ]; then
@@ -266,8 +269,10 @@ if [ -z "$GREEN_FRAMEWORK" ]; then
266269
if [ -n "$TEST_SUITES" ]; then
267270
PYTEST_ARGS="-m $TEST_SUITES $PYTEST_ARGS"
268271
fi
272+
# shellcheck disable=SC2048
269273
uv run ${UV_ARGS[*]} pytest $PYTEST_ARGS
270274
else
275+
# shellcheck disable=SC2048
271276
uv run ${UV_ARGS[*]} green_framework_test.py $GREEN_FRAMEWORK -v $TEST_ARGS
272277
fi
273278

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ ObjectId('4aba160ee23f6b543e000002')
196196
Documentation is available at
197197
[pymongo.readthedocs.io](https://pymongo.readthedocs.io/en/stable/).
198198

199-
See the [contributing guide](./CONTRIBUTING.md) for how to build the documentation.
199+
See the [contributing guide](./CONTRIBUTING.md#documentation) for how to build the documentation.
200200

201201
## Learning Resources
202202

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ About This Documentation
106106
This documentation is generated using the `Sphinx
107107
<https://www.sphinx-doc.org/en/master/>`_ documentation generator. The source files
108108
for the documentation are located in the *doc/* directory of the
109-
**PyMongo** distribution. See the PyMongo `contributing guide <https://github.com/mongodb/mongo-python-driver/blob/master/CONTRIBUTING.md#documentation/>`_
109+
**PyMongo** distribution. See the PyMongo `contributing guide <https://github.com/mongodb/mongo-python-driver/blob/master/CONTRIBUTING.md#documentation>`_
110110
for instructions on the building the docs from source.
111111

112112
Indices and tables

0 commit comments

Comments
 (0)