diff --git a/pyproject.toml b/pyproject.toml index 941ee450..7d6ae94e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -163,7 +163,9 @@ split_before_first_argument = false wrap-summaries = 120 wrap-descriptions = 120 in-place = true -make-summary-multi-line = false pre-summary-newline = true -force-wrap = false close-quotes-on-newline = true + +[tool.codespell] +ignore-words-list = "crate,nd,strack,dota,ane,segway,fo,gool,winn" +skip = '*.csv,*venv*,docs/de,docs/fr,docs/pt,docs/es,docs/mkdocs_de.yml' diff --git a/ultralytics/__init__.py b/ultralytics/__init__.py index 4ddb38b4..7ad3a039 100644 --- a/ultralytics/__init__.py +++ b/ultralytics/__init__.py @@ -1,6 +1,6 @@ # Ultralytics YOLO 🚀, AGPL-3.0 license -__version__ = '8.0.231' +__version__ = '8.0.232' from ultralytics.models import RTDETR, SAM, YOLO from ultralytics.models.fastsam import FastSAM diff --git a/ultralytics/utils/plotting.py b/ultralytics/utils/plotting.py index 08d48cb7..0929c7bf 100644 --- a/ultralytics/utils/plotting.py +++ b/ultralytics/utils/plotting.py @@ -90,7 +90,7 @@ class Annotator: if check_version(pil_version, '9.2.0'): self.font.getsize = lambda x: self.font.getbbox(x)[2:4] # text width, height else: # use cv2 - self.im = im + self.im = im if im.flags.writeable else im.copy() self.tf = max(self.lw - 1, 1) # font thickness self.sf = self.lw / 3 # font scale # Pose