Skip to content

Remove lint action #3

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 22 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6150446
fixed pyright and ruff errors
RyanMcCleary May 15, 2025
27c3bdd
exclude addon/globalPlugin/MathCAT/yaml/* from ruff linting
RyanMcCleary May 15, 2025
37efe28
removed unnecessary noqa comment in Example/test.py
RyanMcCleary May 15, 2025
538b228
fixed errors in pre-commit config file
RyanMcCleary May 15, 2025
8f07b89
removed configuration from pyproject.toml that does not apply
RyanMcCleary May 15, 2025
6fee99b
updated maintainer info and changed .yml extension to .yaml
RyanMcCleary May 19, 2025
25384b9
temporarily commented out no-commit-to-branch hook
RyanMcCleary May 19, 2025
a20666a
updated zip version in Cargo.toml
RyanMcCleary May 20, 2025
3c49323
Update translations
invalid-email-address May 20, 2025
cf156df
added [patch.crates-io] to Cargo.toml
RyanMcCleary May 20, 2025
15fad5a
Merge branch 'main' of github.com:RyanMcCleary/MathCATForPython
RyanMcCleary May 20, 2025
31304b2
Update translations
invalid-email-address May 20, 2025
5fbc8a4
added newline at EOF in some files
RyanMcCleary May 20, 2025
7a2d529
added newline at end of .rs files
RyanMcCleary May 20, 2025
4aecb18
Merged
RyanMcCleary May 21, 2025
6bff8d7
Pre-commit auto-fix
pre-commit-ci[bot] May 21, 2025
984e9b8
removed lint.yaml
RyanMcCleary May 21, 2025
3856957
Merge branch 'remove-lint-action' of github.com:RyanMcCleary/MathCATF…
RyanMcCleary May 21, 2025
742a660
Removed requirements.txt
RyanMcCleary May 21, 2025
5f8d06d
Removed [patch.crates-io] from Cargo.toml
RyanMcCleary May 21, 2025
232ddeb
Added rust to the pre-commit file
RyanMcCleary May 21, 2025
5cc9e74
Pre-commit auto-fix
pre-commit-ci[bot] May 21, 2025
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
36 changes: 0 additions & 36 deletions .github/workflows/lint.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#
###### Requirements for automated lint ######
flake8 >= 3.8
flake8-tabs >= 2.3
flake8-tabs >= 2.3
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ version = "0.22"
features = ["extension-module", "abi3"]

[build-dependencies]
zip = { version = "2.6", default-features = false, features = ["bzip2"] }
zip = { version = "3.0", default-features = false, features = ["bzip2"] }
mathcat = {version = "=0.6.9", features = ["include-zip"]} # for building, we want the zip files so we can include them separately
# mathcat = { path = "../MathCAT/", features = ["include-zip"]} # for building, we want the zip files so we can include them separately
# for testing MathCAT without having to publish a new version (change two occurrences)
Expand All @@ -41,3 +41,6 @@ mathcat = {version = "=0.6.9", features = ["include-zip"]} # for building, w
[profile.release]
lto = true
# opt-level = "z" # Optimize for size.

[patch.crates-io]
zip = "3.0"
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ fn main() {

let mut zip_archive = ZipArchive::new(archive).unwrap();
zip_archive.extract(&location).expect("Zip extraction failed");
}
}
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ mod py_tests {
Err(e) => panic!("Error remains {}", e.to_string()),
}
}
}
}