From 5332759d7c627f4c136ecfc42963d0385e619ff0 Mon Sep 17 00:00:00 2001 From: adehad <26027314+adehad@users.noreply.github.com> Date: Sat, 23 Oct 2021 09:07:39 +0100 Subject: run codespell --- .pre-commit-config.yaml | 24 ++++++++++++------------ ChangeLog.md | 2 +- README.rst | 2 +- doc/rfc2347.txt | 2 +- doc/rfc2348.txt | 8 ++++---- doc/rfc2349.txt | 4 ++-- tftpy/TftpClient.py | 8 ++++---- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0560e90..55dde49 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,18 +25,18 @@ repos: - id: debug-statements - id: check-yaml files: .*\.(yaml|yml)$ - # - repo: https://github.com/codespell-project/codespell.git - # rev: v2.1.0 - # hooks: - # - id: codespell - # name: codespell - # description: Checks for common misspellings in text files. - # entry: codespell - # language: python - # types: [text] - # args: [] - # require_serial: false - # additional_dependencies: [] + - repo: https://github.com/codespell-project/codespell.git + rev: v2.1.0 + hooks: + - id: codespell + name: codespell + description: Checks for common misspellings in text files. + entry: codespell + language: python + types: [text] + args: [] + require_serial: false + additional_dependencies: [] # - repo: https://gitlab.com/pycqa/flake8 # rev: 3.9.2 # hooks: diff --git a/ChangeLog.md b/ChangeLog.md index f598f96..ccf3da1 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. [Compare with 0.8.0]() ### Added -- Add retires paramater to client and server sessions ([08cf590](nicodemus.digitaltorque.ca:git/tftpy/commit/08cf5909b0497ca18c218a7131f77d5761700cf1) by israelv). +- Add retires parameter to client and server sessions ([08cf590](nicodemus.digitaltorque.ca:git/tftpy/commit/08cf5909b0497ca18c218a7131f77d5761700cf1) by israelv). - Add retires to context initializers ([f8d033c](nicodemus.digitaltorque.ca:git/tftpy/commit/f8d033c5e4fb83a856c720424c5863d8d7601c73) by israelv). ### Fixed diff --git a/README.rst b/README.rst index 0f1ab06..f20db2d 100644 --- a/README.rst +++ b/README.rst @@ -67,7 +67,7 @@ Thanks to Kuba Kończyk for the patch. About Release 0.4.5: ==================== -Bugfix release for compatability issues on Win32, among other small issues. +Bugfix release for compatibility issues on Win32, among other small issues. About Release 0.4.4: ==================== diff --git a/doc/rfc2347.txt b/doc/rfc2347.txt index 0daf819..a22a9d9 100644 --- a/doc/rfc2347.txt +++ b/doc/rfc2347.txt @@ -5,7 +5,7 @@ Network Working Group G. Malkin -Request for Commments: 2347 Bay Networks +Request for Comments: 2347 Bay Networks Updates: 1350 A. Harkin Obsoletes: 1782 Hewlett Packard Co. Category: Standards Track May 1998 diff --git a/doc/rfc2348.txt b/doc/rfc2348.txt index f554c7f..698f98d 100644 --- a/doc/rfc2348.txt +++ b/doc/rfc2348.txt @@ -5,7 +5,7 @@ Network Working Group G. Malkin -Request for Commments: 2348 Bay Networks +Request for Comments: 2348 Bay Networks Updates: 1350 A. Harkin Obsoletes: 1783 Hewlett Packard Co. Category: Standards Track May 1998 @@ -95,8 +95,8 @@ RFC 2348 TFTP Blocksize Option May 1998 The rules for determining the final packet are unchanged from [1]. The reception of a data packet with a data length less than the negotiated blocksize is the final packet. If the blocksize is - greater than the amount of data to be transfered, the first packet is - the final packet. If the amount of data to be transfered is an + greater than the amount of data to be transferred, the first packet is + the final packet. If the amount of data to be transferred is an integral multiple of the blocksize, an extra data packet containing no data is sent to end the transfer. @@ -183,7 +183,7 @@ RFC 2348 TFTP Blocksize Option May 1998 Of course, if the blocksize exceeds the path MTU, IP fragmentation and reassembly will begin to add more overhead. This will be more - noticable the greater the number of gateways in the path. + noticeable the greater the number of gateways in the path. Security Considerations diff --git a/doc/rfc2349.txt b/doc/rfc2349.txt index 3135e73..dfe51a0 100644 --- a/doc/rfc2349.txt +++ b/doc/rfc2349.txt @@ -5,7 +5,7 @@ Network Working Group G. Malkin -Request for Commments: 2349 Bay Networks +Request for Comments: 2349 Bay Networks Updates: 1350 A. Harkin Obsoletes: 1784 Hewlett Packard Co. Category: Standards Track May 1998 @@ -125,7 +125,7 @@ RFC 2349 TFTP Timeout Interval and Transfer Size Options May 1998 a NULL-terminated field. size - The size of the file to be transfered. This is a NULL- + The size of the file to be transferred. This is a NULL- terminated field. For example: diff --git a/tftpy/TftpClient.py b/tftpy/TftpClient.py index 852181b..5cad112 100644 --- a/tftpy/TftpClient.py +++ b/tftpy/TftpClient.py @@ -49,8 +49,8 @@ class TftpClient(TftpSession): form of a TftpPacketDAT object. The timeout parameter may be used to override the default SOCK_TIMEOUT setting, which is the amount of time that the client will wait for a receive packet to arrive. - The retires paramater may be used to override the default DEF_TIMEOUT_RETRIES - settings, which is the amount of retransmission attemtpts the client will initiate + The retires parameter may be used to override the default DEF_TIMEOUT_RETRIES + settings, which is the amount of retransmission attempts the client will initiate after encountering a timeout. Note: If output is a hyphen, stdout is used.""" @@ -107,8 +107,8 @@ class TftpClient(TftpSession): TftpPacketDAT object. The timeout parameter may be used to override the default SOCK_TIMEOUT setting, which is the amount of time that the client will wait for a DAT packet to be ACKd by the server. - The retires paramater may be used to override the default DEF_TIMEOUT_RETRIES - settings, which is the amount of retransmission attemtpts the client will initiate + The retires parameter may be used to override the default DEF_TIMEOUT_RETRIES + settings, which is the amount of retransmission attempts the client will initiate after encountering a timeout. Note: If input is a hyphen, stdin is used.""" -- cgit v1.2.1