Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in src/hal directory #3253

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luzpaz
Copy link
Contributor

@luzpaz luzpaz commented Jan 7, 2025

Found via codespell -q 3 -S "*.po,*.pot,*.svg,*.ts,*.changes_es,./.git/logs,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es,./src/hal/classicladder" -L abd,alle,ans,apoints,atleast,ba,breal,bu,bulle,busses,checke,childs,collet,comando,commutated,componentes,currenty,dashs,doubleclick,dout,dum,etxt,extint,faktor,finis,fo,fpr,halp,ihs,indx,ine,inout,inport,ist,leadin,momento,mot,nce,nome,oder,ontext,ot,parm,parms,propertys,realy,rin,ro,seh,sems,ser,serie,splitted,smoe,tabl,te,tey,tre,trough,ue,ure,usin,varn,vell,wille,wont,wonte

Quick question: I found these source typos

PyRun_SimpleString("pyui.intilize = pyui.instance.build(2)\n");
}else if (dbg == 1){
PyRun_SimpleString("pyui.intilize = pyui.instance.build(1)\n");
}else{
PyRun_SimpleString("pyui.intilize = pyui.instance.build(0)\n");

(intilize->initialize) but didn't include them. Please advise.

Found via `codespell -q 3 -S "*.po,*.pot,*.svg,*.ts,*.changes_es,./.git/logs,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es,./src/hal/classicladder" -L abd,alle,ans,apoints,atleast,ba,breal,bu,bulle,busses,checke,childs,collet,comando,commutated,componentes,currenty,dashs,doubleclick,dout,dum,etxt,extint,faktor,finis,fo,fpr,halp,ihs,indx,ine,inout,inport,ist,leadin,momento,mot,nce,nome,oder,ontext,ot,parm,parms,propertys,realy,rin,ro,seh,sems,ser,serie,splitted,smoe,tabl,te,tey,tre,trough,ue,ure,usin,varn,vell,wille,wont,wonte`
@andypugh
Copy link
Collaborator

andypugh commented Jan 7, 2025

@c-morley can you look at the pyui.intilize code?
It is probably creating a python variable that doesn't seem to be used anywhere, so redundant code. Or it may be a bug. I don't see pyui.intilize or pyui.initialize anywhere else in the code.

@andypugh andypugh requested a review from c-morley January 7, 2025 12:33
@c-morley
Copy link
Collaborator

c-morley commented Jan 8, 2025

yes 'pyui.intilize = pyui.instance.build(2)' can be shortened to 'pyui.instance.build(2)'
etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants