Skip to content

Commit

Permalink
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic authored and jurre committed Jan 30, 2024
1 parent 9cc08fb commit 8766819
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.development
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ ENV PATH="${DEPENDABOT_HOME}/dependabot-updater/.bundle/bin:$PATH"
# Create directory for volume containing VS Code extensions, to avoid reinstalling on image rebuilds
RUN mkdir -p ~/.vscode-server ~/.vscode-server-insiders

# Declare pass-thru environment variables used for debugging
# Declare pass-through environment variables used for debugging
ENV LOCAL_GITHUB_ACCESS_TOKEN="" \
LOCAL_CONFIG_VARIABLES=""
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def dependency_up_to_date?(dependency)

# NOTE: Prevent changes to npm 6 lockfiles when the dependency has been
# required in a package.json outside the current folder (e.g. lerna
# proj). npm 7 introduces workspace support so we explitly want to
# proj). npm 7 introduces workspace support so we explicitly want to
# update the root lockfile and check if the dependency is in the
# lockfile
def top_level_dependency_update_not_required?(dependency)
Expand Down Expand Up @@ -706,7 +706,7 @@ def remove_lockfile_packages_name_attribute(current_name, updated_lockfile_conte
# get out of sync because we lock git dependencies (that are not being
# updated) to a specific sha to prevent unrelated updates and the way we
# invoke the `npm install` cli, where we might tell npm to install a
# specific versionm e.g. `npm install [email protected]` but we keep the
# specific version e.g. `npm install [email protected]` but we keep the
# `package.json` requirement for eslint at `^1.0.0`, in which case we
# need to copy this from the manifest to the lockfile after the update
# has finished.
Expand Down Expand Up @@ -751,7 +751,7 @@ def replace_locked_git_dependencies(updated_lockfile_content)
# run npm install
original_from = %("from": "#{details[:from]}")
if npm8?
# NOTE: The `from` syntax has changed in npm 7 to inclued the dependency name
# NOTE: The `from` syntax has changed in npm 7 to include the dependency name
npm8_locked_from = %("from": "#{dependency_name}@#{details[:version]}")
updated_lockfile_content = updated_lockfile_content.gsub(npm8_locked_from, original_from)
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ private static string GetCurrentTokenTriviaPrefix(int tokenStartIndex, string or
// quit at newline, modulo some special cases
if (c == '\n')
{
// check for preceeding CR
// check for preceding CR
if (IsPreceedingCharacterEqual(originalJson, prefixStart, '\r'))
{
prefixStart--;
}
}

// check for preceeding comma
// check for preceding comma
if (IsPreceedingCharacterEqual(originalJson, prefixStart, ','))
{
prefixStart--;
Expand Down
2 changes: 1 addition & 1 deletion nuget/spec/dependabot/nuget/file_fetcher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@
end
end

context "witha bad directory" do
context "with a bad directory" do
let(:directory) { "dir/" }
before do
stub_request(:get, url + "dir?ref=sha")
Expand Down
2 changes: 1 addition & 1 deletion python/spec/dependabot/python/requirement_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def parse(line)
end
end

context "with preceeding v" do
context "with preceding v" do
let(:line) { "luigi==v0.1.0" }
its([:name]) { is_expected.to eq "luigi" }
its([:requirements]) do
Expand Down
2 changes: 1 addition & 1 deletion terraform/spec/dependabot/terraform/file_updater_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@ module "caf" {
end
end

describe "when provider version preceeds its source" do
describe "when provider version precedes its source" do
let(:project_name) { "provider_version_preceed" }
let(:dependencies) do
[
Expand Down
2 changes: 1 addition & 1 deletion updater/lib/dependabot/dependency_group_engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# the groups.
#
# We permit dependencies to be in more than one group and also track those which
# have zero matches so they may be updated individuall.
# have zero matches so they may be updated individually.
#
# **Note:** This is currently an experimental feature which is not supported
# in the service or as an integration point.
Expand Down

0 comments on commit 8766819

Please sign in to comment.