summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2021-03-07 17:36:13 +0100
committerGitHub <noreply@github.com>2021-03-07 17:36:13 +0100
commit3412ef6643a946a04f5e522e5a412ff24b0ea4b9 (patch)
tree5bfd3eaa24cb78686f0a96f58b6a0a2bdf9f1728
parentb88ab10e9f626d725dfd356e482b686de0bd7d17 (diff)
downloadnumpy-3412ef6643a946a04f5e522e5a412ff24b0ea4b9.tar.gz
CI: another master -> main fix (#18566)
-rw-r--r--azure-pipelines.yml2
-rw-r--r--tools/linter.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 60c3ebf74..dd27354fe 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -19,7 +19,7 @@ stages:
jobs:
- job: Lint
- condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/master')) # skip for PR merges
+ condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/main')) # skip for PR merges
pool:
vmImage: 'ubuntu-18.04'
steps:
diff --git a/tools/linter.py b/tools/linter.py
index 2952e91ed..b1bab2b70 100644
--- a/tools/linter.py
+++ b/tools/linter.py
@@ -40,7 +40,7 @@ class DiffLinter:
"""
Original Author: Josh Wilson (@person142)
Source:
- https://github.com/scipy/scipy/blob/master/tools/lint_diff.py
+ https://github.com/scipy/scipy/blob/main/tools/lint_diff.py
Run pycodestyle on the given diff.
"""
res = subprocess.run(