---
source: crates/ruff_linter/src/rules/flake8_bandit/mod.rs
---
S113.py:3:1: S113 Probable use of requests call without timeout
  |
1 | import requests
2 | 
3 | requests.get('https://gmail.com')
  | ^^^^^^^^^^^^ S113
4 | requests.get('https://gmail.com', timeout=None)
5 | requests.get('https://gmail.com', timeout=5)
  |

S113.py:4:35: S113 Probable use of requests call with timeout set to `None`
  |
3 | requests.get('https://gmail.com')
4 | requests.get('https://gmail.com', timeout=None)
  |                                   ^^^^^^^^^^^^ S113
5 | requests.get('https://gmail.com', timeout=5)
6 | requests.post('https://gmail.com')
  |

S113.py:6:1: S113 Probable use of requests call without timeout
  |
4 | requests.get('https://gmail.com', timeout=None)
5 | requests.get('https://gmail.com', timeout=5)
6 | requests.post('https://gmail.com')
  | ^^^^^^^^^^^^^ S113
7 | requests.post('https://gmail.com', timeout=None)
8 | requests.post('https://gmail.com', timeout=5)
  |

S113.py:7:36: S113 Probable use of requests call with timeout set to `None`
  |
5 | requests.get('https://gmail.com', timeout=5)
6 | requests.post('https://gmail.com')
7 | requests.post('https://gmail.com', timeout=None)
  |                                    ^^^^^^^^^^^^ S113
8 | requests.post('https://gmail.com', timeout=5)
9 | requests.put('https://gmail.com')
  |

S113.py:9:1: S113 Probable use of requests call without timeout
   |
 7 | requests.post('https://gmail.com', timeout=None)
 8 | requests.post('https://gmail.com', timeout=5)
 9 | requests.put('https://gmail.com')
   | ^^^^^^^^^^^^ S113
10 | requests.put('https://gmail.com', timeout=None)
11 | requests.put('https://gmail.com', timeout=5)
   |

S113.py:10:35: S113 Probable use of requests call with timeout set to `None`
   |
 8 | requests.post('https://gmail.com', timeout=5)
 9 | requests.put('https://gmail.com')
10 | requests.put('https://gmail.com', timeout=None)
   |                                   ^^^^^^^^^^^^ S113
11 | requests.put('https://gmail.com', timeout=5)
12 | requests.delete('https://gmail.com')
   |

S113.py:12:1: S113 Probable use of requests call without timeout
   |
10 | requests.put('https://gmail.com', timeout=None)
11 | requests.put('https://gmail.com', timeout=5)
12 | requests.delete('https://gmail.com')
   | ^^^^^^^^^^^^^^^ S113
13 | requests.delete('https://gmail.com', timeout=None)
14 | requests.delete('https://gmail.com', timeout=5)
   |

S113.py:13:38: S113 Probable use of requests call with timeout set to `None`
   |
11 | requests.put('https://gmail.com', timeout=5)
12 | requests.delete('https://gmail.com')
13 | requests.delete('https://gmail.com', timeout=None)
   |                                      ^^^^^^^^^^^^ S113
14 | requests.delete('https://gmail.com', timeout=5)
15 | requests.patch('https://gmail.com')
   |

S113.py:15:1: S113 Probable use of requests call without timeout
   |
13 | requests.delete('https://gmail.com', timeout=None)
14 | requests.delete('https://gmail.com', timeout=5)
15 | requests.patch('https://gmail.com')
   | ^^^^^^^^^^^^^^ S113
16 | requests.patch('https://gmail.com', timeout=None)
17 | requests.patch('https://gmail.com', timeout=5)
   |

S113.py:16:37: S113 Probable use of requests call with timeout set to `None`
   |
14 | requests.delete('https://gmail.com', timeout=5)
15 | requests.patch('https://gmail.com')
16 | requests.patch('https://gmail.com', timeout=None)
   |                                     ^^^^^^^^^^^^ S113
17 | requests.patch('https://gmail.com', timeout=5)
18 | requests.options('https://gmail.com')
   |

S113.py:18:1: S113 Probable use of requests call without timeout
   |
16 | requests.patch('https://gmail.com', timeout=None)
17 | requests.patch('https://gmail.com', timeout=5)
18 | requests.options('https://gmail.com')
   | ^^^^^^^^^^^^^^^^ S113
19 | requests.options('https://gmail.com', timeout=None)
20 | requests.options('https://gmail.com', timeout=5)
   |

S113.py:19:39: S113 Probable use of requests call with timeout set to `None`
   |
17 | requests.patch('https://gmail.com', timeout=5)
18 | requests.options('https://gmail.com')
19 | requests.options('https://gmail.com', timeout=None)
   |                                       ^^^^^^^^^^^^ S113
20 | requests.options('https://gmail.com', timeout=5)
21 | requests.head('https://gmail.com')
   |

S113.py:21:1: S113 Probable use of requests call without timeout
   |
19 | requests.options('https://gmail.com', timeout=None)
20 | requests.options('https://gmail.com', timeout=5)
21 | requests.head('https://gmail.com')
   | ^^^^^^^^^^^^^ S113
22 | requests.head('https://gmail.com', timeout=None)
23 | requests.head('https://gmail.com', timeout=5)
   |

S113.py:22:36: S113 Probable use of requests call with timeout set to `None`
   |
20 | requests.options('https://gmail.com', timeout=5)
21 | requests.head('https://gmail.com')
22 | requests.head('https://gmail.com', timeout=None)
   |                                    ^^^^^^^^^^^^ S113
23 | requests.head('https://gmail.com', timeout=5)
   |


