Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #535 from ninoseki/v1.0.0
Browse files Browse the repository at this point in the history
v1.0.0
  • Loading branch information
ninoseki authored Feb 19, 2022
2 parents 89d9ef0 + 0cc7b14 commit f0e457f
Show file tree
Hide file tree
Showing 37 changed files with 20,346 additions and 38,773 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/humitos/mirrors-autoflake
rev: v1.3
hooks:
Expand All @@ -10,12 +16,6 @@ repos:
"--remove-unused-variable",
]

- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
hooks:
- id: pyupgrade
args: [--py37-plus]

- repo: https://gitlab.com/pycqa/flake8
rev: 4.0.1
hooks:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ Uzen is an application combines YARA and headless Chrome. Uzen provides two main

It can be used for phishing and web-based c2 detection.

**Note:** This project is in an alpha state.

## Table of Contents

- [Requirements](https://github.com/ninoseki/uzen/wiki/Requirements)
- [Architecture](https://github.com/ninoseki/uzen/wiki/Architecture)
- [Installation](https://github.com/ninoseki/uzen/wiki/Installation)
- [Configuration](https://github.com/ninoseki/uzen/wiki/Configuration)
- [Alternatives](https://github.com/ninoseki/uzen/wiki/Alternatives)
2 changes: 1 addition & 1 deletion app/schemas/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Device(APIModel):
descriptor: DeviceDescriptor = Field(...)


@lru_cache()
@lru_cache(maxsize=1)
def get_devices() -> List[Device]:
devices: List[Device] = []

Expand Down
2 changes: 1 addition & 1 deletion app/schemas/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class PlainSnapshot(SnapshotBasicAttributes, AbstractBaseModel, TimestampMixin):
html_id: str = Field(...)

@classmethod
@lru_cache()
@lru_cache(maxsize=1)
def field_keys(cls) -> List[str]:
return list(cls.__fields__.keys())

Expand Down
2 changes: 1 addition & 1 deletion app/utils/minio.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_client() -> Minio:
)


@lru_cache()
@lru_cache(maxsize=1)
def create_bucket_if_not_exists(client: Minio, bucket_name: str) -> None:
policy = {
"Version": "2012-10-17",
Expand Down
3 changes: 1 addition & 2 deletions frontend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ module.exports = {
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint",
"plugin:prettier/recommended",
],
plugins: ["simple-import-sort"],
parserOptions: {
Expand Down
3 changes: 0 additions & 3 deletions frontend/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
module.exports = {
preset: "@vue/cli-plugin-unit-jest/presets/typescript-and-babel",
transform: {
"^.+\\.vue$": "vue-jest",
},
};
Loading

0 comments on commit f0e457f

Please sign in to comment.