Skip to content

Update lint_vba.yml #47

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

Merged
merged 51 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
adfaa29
Update lint_vba.yml
Beakerboy Oct 30, 2023
b8ba6b6
Update lint_vba.yml
Beakerboy Oct 30, 2023
afccdbb
Update lint_vba.yml
Beakerboy Oct 30, 2023
6a36c3c
Update Login.frm
Beakerboy Oct 30, 2023
a25da18
Update Login.frm
Beakerboy Oct 30, 2023
0f67f08
Update lint_vba.yml
Beakerboy Oct 30, 2023
591b059
Update lint_vba.yml
Beakerboy Oct 30, 2023
576a8a4
Update lint_vba.yml
Beakerboy Oct 30, 2023
a12e30f
Update lint_vba.yml
Beakerboy Oct 30, 2023
99729b3
Update SQLQuery.cls
Beakerboy Oct 30, 2023
3b7015b
Update lint_vba.yml
Beakerboy Oct 30, 2023
c418124
Update lint_vba.yml
Beakerboy Oct 30, 2023
9f62ab5
Update lint_vba.yml
Beakerboy Oct 30, 2023
14a4e5f
Update lint_vba.yml
Beakerboy Oct 30, 2023
9d91927
Update lint_vba.yml
Beakerboy Oct 30, 2023
98c6a7d
Update lint_vba.yml
Beakerboy Oct 30, 2023
ebec9a1
Update lint_vba.yml
Beakerboy Oct 30, 2023
4145363
Update lint_vba.yml
Beakerboy Oct 30, 2023
21f2e54
Update lint_vba.yml
Beakerboy Oct 30, 2023
0b47ea2
Update lint_vba.yml
Beakerboy Oct 30, 2023
82b6a14
Update lint_vba.yml
Beakerboy Oct 30, 2023
3f2f24b
Update lint_vba.yml
Beakerboy Oct 30, 2023
5efca34
Update lint_vba.yml
Beakerboy Oct 30, 2023
d9c927c
Update lint_vba.yml
Beakerboy Oct 30, 2023
b11412e
Update lint_vba.yml
Beakerboy Oct 30, 2023
ba08f2d
Update lint_vba.yml
Beakerboy Oct 30, 2023
81bb7c0
Update lint_vba.yml
Beakerboy Oct 30, 2023
af0e4f4
Update lint_vba.yml
Beakerboy Oct 30, 2023
4042ca2
Update lint_vba.yml
Beakerboy Oct 30, 2023
0282a3e
Update SQLQuery.cls
Beakerboy Oct 30, 2023
d118e92
Update lint_vba.yml
Beakerboy Oct 30, 2023
30ac503
Update lint_vba.yml
Beakerboy Oct 30, 2023
aa8cbac
Update SQLQuery.cls
Beakerboy Oct 30, 2023
3d48983
Update lint_vba.yml
Beakerboy Oct 30, 2023
f0fd972
Update lint_vba.yml
Beakerboy Oct 30, 2023
6cd792f
Update lint_vba.yml
Beakerboy Oct 30, 2023
e714b50
Update SQLQuery.cls
Beakerboy Oct 30, 2023
e587f5e
Update lint_vba.yml
Beakerboy Oct 30, 2023
e2b8e9d
Update lint_vba.yml
Beakerboy Oct 30, 2023
0aa4be8
Update SQLQuery.cls
Beakerboy Oct 30, 2023
7988c5f
Update lint_vba.yml
Beakerboy Oct 30, 2023
dcced80
Update lint_vba.yml
Beakerboy Oct 30, 2023
d0dc8ce
Update lint_vba.yml
Beakerboy Oct 30, 2023
0f358f8
Update lint_vba.yml
Beakerboy Oct 30, 2023
0cb19d6
Update lint_vba.yml
Beakerboy Oct 30, 2023
3c00fac
Update lint_vba.yml
Beakerboy Oct 30, 2023
1cc5d2f
Update lint_vba.yml
Beakerboy Oct 30, 2023
bcb56ae
Update SQLQuery.cls
Beakerboy Oct 31, 2023
cf5c17a
Update SQLRecordset.cls
Beakerboy Oct 31, 2023
568cfa2
Update SQLRecordset.cls
Beakerboy Oct 31, 2023
9a60127
Update lint_vba.yml
Beakerboy Oct 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/lint_vba.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
name: Test and Static Analysis
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]

Expand All @@ -23,13 +24,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install antlr4-tools
wget https://raw.githubusercontent.com/antlr/grammars-v4/master/vba/vba.g4
wget https://raw.githubusercontent.com/Beakerboy/VBA_Tokenizer/ANTLR/VbaLint
chmod +x VbaLint
- name: Lint with antlr
run: |
antlr4-parse vba.g4 startRule src/ClassModules/*.cls
antlr4-parse vba.g4 startRule src/Modules/*.bas
- name: Lint tests with antlr
run: |
antlr4-parse vba.g4 startRule testing/ClassModules/*.cls
antlr4-parse vba.g4 startRule testing/Modules/*.bas

./VbaLint
4 changes: 2 additions & 2 deletions src/ClassModules/SQLRecordset.cls
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ Public Function iSQLRecordset_GetRows(num As Integer)
iSQLRecordset_GetRows = orst.GetRows(num)
End Function

Public Property iSQLRecordset_EOF()
Property Get iSQLRecordset_EOF()
iSQLRecordset_EOF = orst.EOF
End Function
End Property