Skip to content

Commit 36c12af

Browse files
committed
ci: Add bento config
1 parent 4be9f1d commit 36c12af

File tree

4 files changed

+88
-0
lines changed

4 files changed

+88
-0
lines changed

.bento/config.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
autorun:
2+
block: true
3+
formatter:
4+
- clippy: {}
5+
tools:
6+
bandit:
7+
ignore:
8+
- any-other-function-with-shell-equals-true
9+
- assert-used
10+
- hardcoded-bind-all-interfaces
11+
- hardcoded-password-default
12+
- hardcoded-password-funcarg
13+
- hardcoded-password-string
14+
- hardcoded-sql-expressions
15+
- hardcoded-tmp-directory
16+
- import-lxml
17+
- import-pickle
18+
- import-subprocess
19+
- import-xml-expat
20+
- import-xml-minidom
21+
- import-xml-pulldom
22+
- import-xml-sax
23+
- import_xml-etree
24+
- md5
25+
- random
26+
- start-process-with-no-shell
27+
- start-process-with-partial-path
28+
- subprocess-without-shell-equals-true
29+
- try-except-continue
30+
- urllib-urlopen
31+
run: true
32+
flake8:
33+
ignore:
34+
- bad-wildcard-import
35+
- bare-except-bugbear
36+
- no-getattr
37+
- no-setattr
38+
- unused-loop-variable
39+
- unused-module
40+
- unused-variable
41+
run: true
42+
r2c.click:
43+
ignore:
44+
- names-are-well-formed
45+
run: true
46+
r2c.flask:
47+
ignore: []
48+
run: true
49+
r2c.requests:
50+
ignore:
51+
- use-timeout
52+
run: true

.bentoignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Items added to this file will be ignored by bento.
2+
#
3+
# This file uses .gitignore syntax:
4+
#
5+
# To ignore a file anywhere it occurs in your project, enter a
6+
# glob pattern here. E.g. "*.min.js".
7+
#
8+
# To ignore a directory anywhere it occurs in your project, add
9+
# a trailing slash to the file name. E.g. "dist/".
10+
#
11+
# To ignore a file or directory only relative to the project root,
12+
# include a slash anywhere except the last character. E.g.
13+
# "/dist/", or "src/generated".
14+
#
15+
# Some parts of .gitignore syntax are not supported, and patterns
16+
# using this syntax will be dropped from the ignore list:
17+
# - Explicit "include syntax", e.g. "!kept/".
18+
# - Multi-character expansion syntax, e.g. "*.py[cod]"
19+
#
20+
# To include ignore patterns from another file, start a line
21+
# with ':include', followed by the path of the file. E.g.
22+
# ":include path/to/other/ignore/file".
23+
#
24+
# To ignore a file with a literal ':' character, escape it with
25+
# a backslash, e.g. "\:foo".
26+
27+
# Ignore Bento environment files
28+
.bento/
29+
30+
# Ignore git items
31+
.gitignore
32+
.git/
33+
:include .gitignore

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,4 @@ target/
183183
env
184184
.cache
185185
.mypy_cache
186+
.bento/cache

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ include *.toml
33
include *.txt
44
include *.yaml
55

6+
include .bentoignore
67
include .coveragerc
78
include .isort.cfg
89
include tox.ini
910

11+
graft .bento
1012
graft .circleci

0 commit comments

Comments
 (0)