Skip to content

Commit

Permalink
🔧 Set Threshold for DeepSource's RS-R1000 to High
Browse files Browse the repository at this point in the history
  • Loading branch information
luoshuijs committed Dec 21, 2023
1 parent cbb1570 commit 2775bde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name = "rust"

[analyzers.meta]
msrv = "stable"
cyclomatic_complexity_threshold = "high"

[[analyzers]]
name = "python"
Expand Down
2 changes: 1 addition & 1 deletion src/applications/output/damage_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub struct PyDamageAnalysis {
#[pymethods]
impl PyDamageAnalysis {
#[getter]
fn __dict__(&self, py: Python) -> PyResult<PyObject> { // skipcq: RS-R1000
fn __dict__(&self, py: Python) -> PyResult<PyObject> {
let dict = PyDict::new(py);

fn insert_hashmap(
Expand Down

0 comments on commit 2775bde

Please sign in to comment.