Skip to content

Commit

Permalink
Codespell: Fix one typo, ignore another valid word, formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinerm committed Jan 31, 2025
1 parent 6423c66 commit d5f52cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
skip = .git,*.pdf,*.svg
# globalYg, globalY -- variables
# ans -- matlab talking to us
ignore-words-list = globalyg,ans,globaly
ignore-words-list = globalyg,ans,globaly,abl
8 changes: 4 additions & 4 deletions Psychtoolbox/PsychBasic/PsychtoolboxVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
% the most stable and trustworthy releases.
%
% * trunk: Development prototypes, for testing and debugging by developers
% and really adventureous users, not for production use!
% and really adventurous users, not for production use!
%
% * Psychtoolbox-x.y.z: Old, no longer supported Psychtoolbox versions.
%
Expand Down Expand Up @@ -104,7 +104,7 @@
Psychtoolbox.version.major=cvv(1);
Psychtoolbox.version.minor=cvv(2);
Psychtoolbox.version.point=cvv(3);

gitfolder = PsychtoolboxRoot();
i=find(filesep==gitfolder);
gitfolder = [gitfolder(1:i(end-1)) '.git'];
Expand All @@ -113,7 +113,7 @@
else
isGIT = false;
end

if exist([PsychtoolboxRoot '.svn'],'dir')
isSVN = true;
else
Expand Down Expand Up @@ -155,7 +155,7 @@
[r1,r2] = regexp(gitstatus.RemoteRepository{1},'http[^\s]+');
if ~isempty(r1)
remoteURL = gitstatus.RemoteRepository{1}(r1:r2);
else
else
remoteURL = '';
end
% Build final version string:
Expand Down

0 comments on commit d5f52cc

Please sign in to comment.