Skip to content

Commit da7499c

Browse files
committed
pr comments
1 parent d719bbc commit da7499c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/validate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip
20-
pip install ".[dev]"
20+
python -m pip install ".[dev]"
2121
- name: Analysing the code with pylint
2222
run: |
2323
pylint featuremanagement
@@ -29,9 +29,9 @@ jobs:
2929
uses: streetsidesoftware/cspell-action@v6.8.0
3030
- name: Test with pytest
3131
run: |
32-
pip install ".[test]"
32+
python -m pip install ".[test]"
3333
pytest tests --doctest-modules --cov-report=xml --cov-report=html
3434
- name: Analysing the samples with pylint
3535
run: |
36-
pip install -r samples/requirements.txt
36+
python -m pip install -r samples/requirements.txt
3737
pylint --disable=missing-function-docstring,missing-class-docstring samples tests

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ min-public-methods = 1
1414
max-branches = 20
1515
max-returns = 7
1616

17-
[tool.pylint."messages control"]
17+
[tool.pylint."messages_control"]
1818
disable = ["duplicate-code"]
1919

2020
[build-system]
@@ -60,8 +60,8 @@ Issues = "https://github.com/microsoft/FeatureManagement-Python/issues"
6060
[project.optional-dependencies]
6161
AzureMonitor = ["azure-monitor-events-extension<2.0.0"]
6262
test = [
63-
"azure-monitor-opentelemetry",
64-
"azure-monitor-events-extension",
63+
"azure-monitor-opentelemetry < 2.0.0",
64+
"azure-monitor-events-extension < 2.0.0",
6565
]
6666
dev = [
6767
"pytest >= 7.0.0, < 10.0.0",

0 commit comments

Comments
 (0)