summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradehad <26027314+adehad@users.noreply.github.com>2021-10-23 09:07:39 +0100
committeradehad <26027314+adehad@users.noreply.github.com>2021-10-23 09:14:18 +0100
commit5332759d7c627f4c136ecfc42963d0385e619ff0 (patch)
treea56e67bd4f730e5328a492d95a828d3f55aeac09
parent4907089c0616be5569b046dc688a1238d58bf2a2 (diff)
downloadtftpy-5332759d7c627f4c136ecfc42963d0385e619ff0.tar.gz
run codespell
-rw-r--r--.pre-commit-config.yaml24
-rw-r--r--ChangeLog.md2
-rw-r--r--README.rst2
-rw-r--r--doc/rfc2347.txt2
-rw-r--r--doc/rfc2348.txt8
-rw-r--r--doc/rfc2349.txt4
-rw-r--r--tftpy/TftpClient.py8
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.
<small>[Compare with 0.8.0]()</small>
### 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."""